Amrw5v7te5tcynzipnrz
SkillsCast

"Given When Then" considered harmful

3rd April 2014 in London at Skills Matter

There are 20 other SkillsCasts available from CukeUp! 2014

Please log in to watch this conference skillscast.

470169359 640

Recently, I've seen several systems with test code that is intended to be "business facing" but that, in practice, is just getting in the way. The test code is bloated and repetitive, and the language of the tests doesn't really explain the original intent.

The tests that I see often remind me of a previous attempt to allow non-technical people to work with computers: Cobol. The features that helped to make it hugely successful, its "English syntax" and flat structure, are also barriers to abstraction and modularity--the techniques we need to cope with scale. Is writing everything out in full the only way we can get our point across?

YOU MAY ALSO LIKE:

Thanks to our sponsors

"Given When Then" considered harmful

Steve Freeman

Steve was a pioneer of Agile software development in the UK, he has built applications for banks, ISPs, financial data providers, and specialist software companies. He has given training courses in Europe, America, and Asia.