statt

Statt is Selenium Testing All The Time. It’s being built as a replacement for Webrat using Selenium servers organized in a grid, to speed up testing with multiple servers.

Progress

As of version 0.0.4:

  • You can spawn a Hub, which stands in for the Remote Control server in a grid setup. This can only be started locally to minimize network latency contributing to slowing down the tests.

  • You can spawn one to as many RC servers you need to do the job. In the future, you’ll be able to specify the location of servers that are non-local, though you’ll have to start them up yourself.

  • You can start a client, spawn a browser session, and start sending commands to the hub.

TODO

<del>- set up the client to talk to the hub.</del>

  • setting up the api for the selenium client, with the goal of replacing Webrat steps.

    • methods to locate links, buttons, etc. by their text.

    • construct statt_steps.rb for inclusion in cucumber steps dir.

    • remove webrat steps and place statt steps in features/steps dir using an executable.

    • undo parameter for executable to restore webrat steps.

  • algorithm for dealing with features that modify the database to ensure a clean state for tests that need it.

  • cucumber integration (setup, teardown, tagging, database concurrency)

  • set up hub to communicate with multiple non-local RC servers.

  • minimize gem size (~7.8MB)

  • wiki on how to set things up (Cucumber, DatabaseCleaner, Machinist).

  • optimizations for speed.

Note on Patches/Pull Requests

  • Fork the project.

  • Make your feature addition or bug fix.

  • Add tests for it. This is important so I don’t break it in a future version unintentionally.

  • Commit, do not mess with rakefile, version, or history. (if you want to have your own version, that is fine but

    bump version in a commit by itself I can ignore when I pull)
    
  • Send me a pull request. Bonus points for topic branches.

Copyright © 2009 davidtrogers. See LICENSE for details.