Skip to content
This repository was archived by the owner on Mar 3, 2025. It is now read-only.

Behat Code Coverage

Ethan Mallove edited this page Jul 10, 2017 · 15 revisions

OpenScholar Test Coverage

Running our behat tests with xdebug trace turned on (xdebug.auto_trace=1) outputs about 30 GBs of trace files. We can analyze this data to determine which files and functions our regular tests cover (we can't - unfortunately - glean line-by-line coverage information using this technique).

File Coverage

[to be completed]

Function Coverage

[to be completed]

Collected data

Function and file trace files:

https://drive.google.com/file/d/0BySxPAtKBR8WVm1YcWJSdFFoYk0/view?usp=sharing

sqlite database containing files and functions used in behat tests:

https://drive.google.com/file/d/0BySxPAtKBR8WZ1BJLTJxM2tYT00/view?usp=sharing

Clone this wiki locally