Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add coverage keywords #70

Open
bollwyvl opened this issue Feb 15, 2023 · 0 comments
Open

Add coverage keywords #70

bollwyvl opened this issue Feb 15, 2023 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@bollwyvl
Copy link
Collaborator

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:

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.

@bollwyvl bollwyvl added the enhancement New feature or request label Feb 15, 2023
@bollwyvl bollwyvl added this to the 0.5.0 milestone May 16, 2023
@bollwyvl bollwyvl modified the milestones: 0.5.0, 0.6.0 Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant