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

Already on GitHub? Sign in to your account

Added filters in javascript for the html formater #270

wants to merge 2 commits into


None yet
3 participants

dquimper commented Jan 7, 2011


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.


dquimper commented on 030ca63 Jan 7, 2011

Also, this speeds up the filtering when you have 1000s of specs.


dchelimsky commented Jan 13, 2011

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


dquimper commented Jan 13, 2011

Sorry for the anonymous commits, my git config wasn't set properly.

Here's the info:
Daniel Quimper

Thanks for your good work,


dquimper commented Jan 17, 2011

Added checkboxs at the top of the page to filter examples.

betesh commented May 18, 2016 edited

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?

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment