I added 3 checkboxes at the top of the generated html to filter passed, failed and pending test.
We have 4000+ test at our compagny and finding the ones that failed become hard because the list of so long.
I simply used the classes (passed, failed and not_implemented) in the html to guide the apply_filter function.
Hope you can integrate it without problems, only one file was changed.
Added checkboxs at the top of the page to filter the test.
Make use of css for the page display.
Also, this speeds up the filtering when you have 1000s of specs.
I merged this onto a branch w/ a couple of minor changes (removed some words by the checkboxes). Right now the commit isn't listed as being by you because there was no author information in the commit. Can you tell me your name and, ideally, email address so I can add it to the commit before I merge to master?
Here's the branch it's on now: https://github.com/rspec/rspec-core/tree/html-formatter-enhancements
Sorry for the anonymous commits, my git config wasn't set properly.
Here's the info:
Thanks for your good work,
Added checkboxs at the top of the page to filter examples.
- Closes #270.
There doesn't seem to be a way to set these checkboxes from the URL. It would be great if I could just append ?passed=false&pending=false to the URL so that I don't have to uncheck the same boxes every time I refresh the page.
Does anyone know of an existing way to do that before I go start a PR for it?