•  

Selenium and the Four Rules of Simple Design

A session at Selenium Camp 2015

Saturday 28th February, 2015

12:00pm to 12:50pm (KMT)

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 unrecognizable.

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.

About the speaker

This person is speaking at this event.
Thomas Sundberg

Sigma, Consultant, Software developer, Obsessed with automation bio from Twitter

Sign in to add slides, notes or videos to this session

Selenium Camp 2015

Ukraine Ukraine, Kiev

27th28th February 2015

Tell your friends!

When

Time 12:00pm12:50pm KMT

Date Sat 28th February 2015

Short URL

lanyrd.com/sdhxqf

Official event site

seleniumcamp.com

View the schedule

Share

See something wrong?

Report an issue with this session