Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 1.1 KB

README.md

File metadata and controls

32 lines (24 loc) · 1.1 KB

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.

$ 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)

map_1 map_2

These are some make steps that are useful shortcuts for generating reports:

$ make clean
$ make report T_FLAGS+='-n 10 -k bicing'
$ make summary
$ make map