Open
Description
Elevator Pitch
Capture client, server, and kernel coverage with robot tests.
Motivation
Being able to gather fine-grained coverage of JS, python, and maybe other languages from a single test increases the value of executed robot tests.
Design Ideas
Client coverage:
- https://github.com/deathbeds/jyg/blob/v0.1.2/atest/resources/Coverage.resource
- this requires a labextension to have been built with e.g.
Server coverage:
Kernel coverage could be gathered by copyinh a custom kernel.json
, and adding some more data:
{
"argv": [
"$PREFIX/bin/python",
"-m",
"coverage", "run", "-m", // ... add this line, with more args
"ipykernel_launcher",
"-f",
"{connection_file}"
],
"display_name": "Python 3 (ipykernel)", // add the context name?
"language": "python",
"metadata": {
"debugger": true
}
}
Finally, some reporting keywords could be added, optionally embedding the reports inside the robot HTML if they can be generated as a single file.