-
Notifications
You must be signed in to change notification settings - Fork 7
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
Implement unit testing #95
Comments
Design unit tests for these modules:
Next step ideas for unit testing:
|
We are rethinking how we're doing unit tests and are making them more modular. This means that this is blocked by #93 in so far as each of the functions needs to be built out for each major module in order to write the unit tests for each of the functions. But not all of the modules need to be written to begin unit testing on any individually, just the one being tested. In this pull request, the scraper has been rewritten to have modules and many of the scraper unit tests have been written, but not all of them. Those last scraper unit tests can be written. But writing unit tests for parser, cleaner, and updater is blocked by that module being rewritten in #93. |
Problem
There is no quick way to test specific pieces of the code without running the code from the beginning and creating test data (ie. HTML and json files) to work with. Unit tests would provide built-in ways to do so.
Goal
Add unit testing to the code (python documentation). Ensure that your test HTML or json files are redacted and do not store real person data. Store any test files in the resources folder.
The text was updated successfully, but these errors were encountered: