Skip to content

Sprint3 a&o#9

Open
AronFreyr wants to merge 11 commits into
masterfrom
sprint3-A&O
Open

Sprint3 a&o#9
AronFreyr wants to merge 11 commits into
masterfrom
sprint3-A&O

Conversation

@AronFreyr

@AronFreyr AronFreyr commented Oct 4, 2022

Copy link
Copy Markdown
Collaborator

Made minor changes to the "split_by_chapters" function in pdf2txt.py in order to optimize it for speed.

Created more test cases for pdf2txt.

Made a special test file for memory and speed tests called "extra_time_and_memory_tests.py" but did not use the "test_" prefix in its name so that it would not run with the usual tests because they caused errors with the code coverage process.

Created extra tests for utilities.py to increase coverage.

Created extra tests for latin2ascii.py to increase coverage.

Fixed some bugs with pdf2txt. Biggest one was making sure that you could input a location for where the chapter files were supposed to be generated.

Added stuff to requirements.txt that was needed to test speed, memory and coverage.

Comment thread tests/test_pdf2txt.py Outdated
Comment thread tools/pdf2txt.py Outdated
Comment thread tests/extra_time_and_memory_tests.py Outdated

@PrimeNumb PrimeNumb left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, good job

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.

2 participants