mintdigital edited this page Sep 13, 2010 · 10 revisions

Easy peasy in browser testing with Selenium.

Pyrite is a thin DSL over the Selenium-Client gem. We found Cucumber to be awesome, but no one was reading the features. We found Webrat to be fantastic, but way to complex for what we wanted. So, we made Pyrite – a few Selenium-Client methods wrapped up in a readable (for a developer) way.

Pyrite tests inherit from ActionController::IntegrationTest, so they behave as you would expect. Everything is easily accesible, so you can quickly configure Selenium any way you want.

If the DSL provided doesn’t quite cut it, easily extend it to fit your needs.