This PR adds test cases for generate_reports() in tpt_reports.py. Resolves Issue #22
π Motivation and context
The added test cases will test ensure that negative boolean status values will be returned if load_json_file() returns a null JSON object, or if parse_json() was not able to parse out valid fields from the file and returns null objects.
π§ͺ Testing
Testing was performed by running PyTest and ensured all added and pre-existing test cases were passing.
β Pre-approval checklist
[x] This PR has an informative and human-readable title.
[x] Changes are limited to a single goal - eschew scope creep!
[x] All future TODOs are captured in issues, which are referenced
in code comments.
[x] All relevant type-of-change labels have been added.
π£ Description
This PR adds test cases for generate_reports() in tpt_reports.py. Resolves Issue #22
π Motivation and context
The added test cases will test ensure that negative boolean status values will be returned if load_json_file() returns a null JSON object, or if parse_json() was not able to parse out valid fields from the file and returns null objects.
π§ͺ Testing
Testing was performed by running PyTest and ensured all added and pre-existing test cases were passing.
β Pre-approval checklist
β Pre-merge checklist
β Post-merge checklist