cosmic-ray
cosmic-ray copied to clipboard
Allow filtering for results in cr-report
Curently, cr-report will display all the results of a run. It would be nice if there were options that would filter output (for example, to display only results from cases that survived, or from a particular file).
Do you have a proposal for the command-line options you'd like, etc? I'm happy to consider ideas and PRs. The place you want to look for cr-report is in cosmic_ray.tools.report.py.
Another thing to consider is doing this in cr-html instead. It might be nice to enhance it such that the generated HTML includes tools for filtering, sorting, and so forth at the top of the report, e.g. in a drop-down panel.
Finally, depending on your needs, it might be simpler for you to design you own reporting tool that takes input from cosmic-ray dump. You could filter the dump stream with grep or whatever, and then feed that into your tool.
@LLKoder If you're actively working on cr-html, this might be another set of functionality to consider. It's not critical, but it would be an interesting bit of work and potentially very useful.
It is a good idea to filter the job list. I promise nothing, but I'll see what I can do.
Something like: PR https://github.com/sixty-north/cosmic-ray/pull/461 in cr-html