I’m generating a static site using Jekyll, and I’d like to run a few smoke tests on the resulting HTML before publishing, such as an article page having the appropriate “Article Title — Site Name” title.
The tests do not require CSS or JavaScript support, so I don’t need a complete browser.
Some people seem to recommend RSpec + Capybara, but it looks like Capybara isn’t in nixpkgs, and packaging a bunch of stuff seems like a lot of work for such a simple site. I’m not too fussed about the test suite being Ruby-based, although it might be helpful since Jekyll is Ruby. Any suggestions?
Update: HTMLProofer can do at least part of the job (except for verifying specific content), and it happens to be in Ruby. Nice!