Selenium and the Four Rules of Simple Design

We are automating web applications using Selenium WebDriver. It is easy to get started with automated tests. It is harder to maintain an automated test system. The entropy increases with time and different developers/testers; your once beautiful crafted test code may end up unrecognisable.
The cure for this is to apply the Four Rules of Simple design while you maintain the tests. The rules, as suggested by Kent Beck, are:
Test pass
Express intent
No duplication
Small
Thomas will take a test suite for a web application and by following the Four Rules of Simple design, transform it step by step into something that is easier to maintain.
This will be a live coding session with a lot of refactoring. All steps will be small and you will therefore be able to follow even if your main profession isn’t writing code. After this session, you will know that even the most horrible test code is possible to clean up just be slowly transforming the code in small steps.

You like this lecture? Spread the word!

Lecture by

Lecture details

  • In English Presented in English
  • Live coding