Reports
Integration tests can generate a json report file with all extracted data stored as geojson. Using this json report file, further useful reports can be generated like a summary of the overall health of the library or a map visualization of all the information.
bash
$ make report T_FLAGS+='-n auto -k gbfs'
....
$ ./utils/report.py report/report.json > health.md
$ ./utils/report.py report/report.json --template utils/map.tpl.html > map.html
This is the tooling used to generate the summary reports on github PRs
The map visualization is very useful to make sense of the extracted data and detect errors or any inconsistency (wrong lat/lng, test stations showing up)
These are some make steps that are useful shortcuts for generating reports:
bash
$ make clean
$ make report T_FLAGS+='-n 10 -k bicing'
$ make summary
$ make map