Monthly Archives: May 2011

Against Helper classes

An interesting blog post: For me, the most important point is that when a class is starting to get too large, you shouldn’t just cut and paste a load of methods to a similarly named helper class. Rather, you … Continue reading

Posted in Architecture and Design | Tagged , | Leave a comment

Tutorial: Writing XPath selectors for Selenium tests

Selenium is the most commonly used web testing framework. It allows you to write tests in Java that can perform standard “web” actions such as filling in forms, clicking buttons etc. Usually, a test will take the following form: Open … Continue reading

Posted in Selenium, Testing | Tagged , | 53 Comments

Cool Groovy features 5 – integration with Ant

The Ant build tool provides a number of really useful features, but when coding in Java it isn’t particularly easy to invoke Ant from your code. Groovy includes Ant and an AntBuilder class that allows you to access it, which … Continue reading

Posted in Groovy | Tagged | Leave a comment