Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(tests): reorganize tests #215

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

l-lumin
Copy link
Contributor

@l-lumin l-lumin commented Dec 25, 2024

#134

coverage report

Name Stmts Miss Branch BrPart Cover
src/markitdown/init.py 2 0 0 0 100%
src/markitdown/main.py 23 23 4 0 0%
src/markitdown/_markitdown.py 804 269 336 43 63%
tests/init.py 0 0 0 0 100%
tests/atest_markitdown.py 124 124 18 0 0%
tests/core/init.py 0 0 0 0 100%
tests/core/test_external_tools.py 16 5 2 0 61%
tests/core/test_llm.py 48 11 4 0 71%
tests/core/test_local_file.py 38 0 0 0 100%
tests/core/test_remote.py 19 0 4 0 100%
tests/helpers/init.py 0 0 0 0 100%
tests/helpers/utils.py 7 0 6 0 100%
TOTAL 1081 432 374 43 58%

Add new test cases for MarkItDown to cover LLM, remote, and 
local file conversions. Implement tests for handling 
deprecation warnings, external URL queries, and EXIF data 
processing. Ensure tests are skipped when necessary 
environment conditions are not met, improving test reliability 
and maintainability.
@l-lumin l-lumin force-pushed the refactor-tests branch 3 times, most recently from f039c88 to f3154f6 Compare December 26, 2024 14:10
@l-lumin l-lumin marked this pull request as ready for review December 26, 2024 14:11
Removes redundant paths for markitdown and tests in the 
coverage configuration. This change streamlines the 
coverage report by focusing on the primary source and 
test directories, improving clarity and maintainability.
Remove unnecessary .vscode directory from .gitignore and add 
pytest configuration to .vscode/settings.json to enable 
testing with pytest in the project. This improves the 
development workflow by ensuring that pytest is the default 
testing framework.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant