by akeefer · 18y ago · 0 comments
To test the framework itself, we mainly use Selenium to test the actual HTML and javascript output. To test things that Selenium can't easily handle, we've also used the Watir library (http://wtr.rubyforge.org/).
Our real unit tests are basically built on top of JUnit, though we have our own extensions to it that are specific to our platform.
To run the tests and report results, we have a custom application developed on our web framework and the rest of our software stack. Originally we used CruiseControl, but we outgrew that fairly quickly. It does a lot of stuff for us, but the key abilities are 1) parceling the tests out to a farm of servers and 2) assigning test breaks to users (basically a guess based on who changed what files in source control since the last successful test run); if you have more than a few people on the team, without actually making the test breaks one person's problem to resolve you end up with massive diffusion of responsibility where no one thinks it's their break.
We also have an internal performance testing harness for running load tests, which we write using the same framework as the smoke tests I described above (though in that case the clients are naturally remote).
No comments yet.