README.md in headhunter-0.1.4 vs README.md in headhunter-0.1.5
- old
+ new
@@ -4,10 +4,12 @@
[](http://badge.fury.io/rb/headhunter)
[](https://codeclimate.com/github/jmuheim/headhunter)
[](https://travis-ci.org/jmuheim/headhunter)
[](https://bitdeli.com/free "Bitdeli Badge")
+[](https://gemnasium.com/jmuheim/headhunter)
+[](https://coveralls.io/r/jmuheim/headhunter)
Headhunter is an HTML and CSS validation tool that injects itself into your Rails feature tests and auto<strong>magic</strong>ally checks all your generated HTML and CSS for validity.
In addition, it also looks out for unused (and therefore superfluous) CSS selectors.
@@ -57,11 +59,14 @@
- There are not tests yet. I first want to see whether this gem would be appreciated by the community, and if so, I will definitely add tests.
- Didn't try this with AJAX requests yet. Would be great if such responses would be validated, too!
- In feature tests, the same views are getting rendered again and again. These same sources shouldn't be validated over and over again!
- More configuration options needed! CSS1, CSS2, CSS2.1, CSS3! XHTML, HTML5, etc.
- Better output needed! With context lines, etc.
+ - HTML output: info about GET/POST/PUT/DELETE!
- Look out for multiple used IDs on the same page and raise error!
- Look out for invalid tags and raise error (tidy doesn't seem to do this?!)!
+- Cache HTML validations: use MD5 to prevent validating the same source again and again! (Maybe even keep the cache between running specs!)
+- Add option to CssHunter that ignores "bare" rules like applet, blockquote, etc. (which usually stem from libraries like Compass reset or Normalize)
## Disclaimer
Headhunter is heavily inspired by Aanand Prasad's [Deadweight gem](https://github.com/aanand/deadweight), Eric Beland's [HTML Validation gem](https://github.com/ericbeland/html_validation) and Unboxed Consulting's [be\_valid\_asset gem](https://github.com/unboxed/be_valid_asset). Thank you for your pioneering work!