Tag Archives: functional tests

AOP, NUnit and Selenium: clever screenshots of failures

Last week I did struggle finding out why a test was failing only on our Cruise box, only in the Cruise build.
I wanted to get a screenshot of each failing tests, and I think I found a clever solution: aop.
We already use PostSharp on our code base for logging, transaction demarcation and hibernate session support, [...]

Posted in General Stuff | Also tagged , , , , , | Leave a comment

Suffering of Selenese Flu? Try webdriver

I’ve been suffering of selenese flu for months, being on a .net project we were using selenium RC. The typical symptoms are flaky, slow tests and sometimes a lot of sleeps in your code to make it work.
Selenium has its age and it struggles to cope with the current web 2.0 asynchronous calls & rich javascript.
Fortunately [...]

Posted in General Stuff | Also tagged , , , , | Leave a comment