Skip to content

Files

Latest commit

6de1eeb · Sep 17, 2024

History

History

utils

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

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