Documentation
¶
Overview ¶
Command e2e-report reports on the results of e2e test runs.
The run subcommand reads the results collected into a result directory and writes results.json next to them: the verdict of the run, the failures with the reason of each and links to everything collected for them, the coverage the tests reached, and every test case with its artifacts. What that is shown as is decided when it is served, so nothing here renders a page.
The refresh subcommand reports on every unpacked run under a result root again. What a run recorded is what a report can show, so a run published by an older runner records what that runner knew to record, and nothing but reporting on it again brings it up to what we record today.
The coverage subcommand reports the coverage in a coverage profile: the coverage of the logic of each plugin, the total over everything instrumented, and the same numbers as json. This is what report-coverage.sh reports the coverage of a run with.
The pack subcommand packs everything a run collected into a single archive, leaving behind what it takes to tell how the run went without unpacking anything. A run costs a tenth of what it costs browsable, and nothing has to be thrown away to get there.
The serve subcommand serves published results over HTTP, the packed ones as if their archive had been extracted where it is. The index of the runs and the report of each run are rendered for every request from what the runs recorded, so every run is shown the way this version shows one, whenever it was published and whether or not it has been packed up since. It writes nothing.
All of them read what is there and are safe to rerun on results already reported on.