What is Celerity?
- Fast - No time-consuming GUI rendering or unessential downloads
- Easy to use - Simple API
- Scalable - Java threads lets you run tests in parallel
- Portable - Cross-platform thanks to the JVM
- Unintrusive - No browser window interrupting your workflow (runs in background)
FINN.no is a top provider of online classifieds in Europe. Consequently automated functional testing is an essential part of our quality assurance effort. As of spring 2008 our Watir test suite, consisting of 340 test cases (which only covers part of our application), completes in 3 hours. Obviously, not optimal for an agile development environment.
We need a faster alternative. At the same time, we enjoy working with Ruby and Watir's API. By providing this API on top of HtmlUnit, we hope to significantly speed up test suite execution, while avoiding a rewrite of our existing test suite. Early benchmarks are available.
$ jruby -S gem install celerity
= Celerity::Browser.new browser.goto('http://www.google.com') browser.text_field(:name, 'q').value = 'Celerity' browser.button(:name, 'btnG').click puts "yay" if browser.text.include? 'celerity.rubyforge.org' browser
For more examples and help, check our wiki.
How to submit patches
Celerity is licensed under the GPLv3 license.