Kh63qbnifnoyfzz6klcl
SkillsCast

A swiss army knife for readable tests

18th September 2014 in London at Skills Matter

There are 1 other SkillsCast available from How to Name Things & a Swiss Army Knife for Readable Tests

By now hopefully most of the developers know tests are worth writing. Unfortunately, sometimes their quality leaves a lot to be desired. Tests produced are tightly coupled, testing wrong things with wrong set of assertions.

There are many discussions addressing the questions like "What to test" and "How to test". But there is one equally important - "How to write test someone else can read". While there is no tool on the world that would do the former for you, the latter can be vastly improved with right set of techniques, tricks and libraries. If we are committing to writing tests, we might as well get the most of it.

That is what this talk will be about: ideas and patterns to produce clean, readable and developer-friendly tests. We will look deep into technical details, some of which include: patterns for building your test objects, prettifying test output or defining descriptive assertions.

YOU MAY ALSO LIKE:

A swiss army knife for readable tests

Adam Kosiński

Adam is a software developer at PayPoint, journeyman on objective, functional, mobile and any other code worth writing. Keenly interested in principles behind programming and curious why people do what they do and write code they write.

SkillsCast

By now hopefully most of the developers know tests are worth writing. Unfortunately, sometimes their quality leaves a lot to be desired. Tests produced are tightly coupled, testing wrong things with wrong set of assertions.

There are many discussions addressing the questions like "What to test" and "How to test". But there is one equally important - "How to write test someone else can read". While there is no tool on the world that would do the former for you, the latter can be vastly improved with right set of techniques, tricks and libraries. If we are committing to writing tests, we might as well get the most of it.

That is what this talk will be about: ideas and patterns to produce clean, readable and developer-friendly tests. We will look deep into technical details, some of which include: patterns for building your test objects, prettifying test output or defining descriptive assertions.

YOU MAY ALSO LIKE:

About the Speaker

A swiss army knife for readable tests

Adam Kosiński

Adam is a software developer at PayPoint, journeyman on objective, functional, mobile and any other code worth writing. Keenly interested in principles behind programming and curious why people do what they do and write code they write.