Closed barbeau closed 6 years ago
Summary:
Similar to the tests for the gtfs-realtime-validator project for the BatchProcessor (https://github.com/CUTR-at-USF/gtfs-realtime-validator/blob/master/gtfs-realtime-validator-lib/src/test/java/edu/usf/cutr/gtfsrtvalidator/lib/test/BatchTest.java), we should add tests for ResultsAnalyzer to make sure the output Excel file contains the expected information based on the actual validator results in the .results.json files.
ResultsAnalyzer
.results.json
I see this having a few steps:
Steps to reproduce:
Try to run unit tests for the project
Expected behavior:
Run unit tests
Observed behavior:
No unit tests exist
Summary:
Similar to the tests for the gtfs-realtime-validator project for the BatchProcessor (https://github.com/CUTR-at-USF/gtfs-realtime-validator/blob/master/gtfs-realtime-validator-lib/src/test/java/edu/usf/cutr/gtfsrtvalidator/lib/test/BatchTest.java), we should add tests for
ResultsAnalyzer
to make sure the output Excel file contains the expected information based on the actual validator results in the.results.json
files.I see this having a few steps:
.results.json
files from actual validation output - 3 would probably be good.results.json
files and output the graphs.xlsx fileSteps to reproduce:
Try to run unit tests for the project
Expected behavior:
Run unit tests
Observed behavior:
No unit tests exist