Articles about unit tests

Unit-test evolution

Andrei Solntsev, 29 Oct 2010

This is an example of unit-test evolution which I presented on recent workshop.Let's consider 3 revisions of the same unit-test class.This is the first revision of this class: public...

Read more

Unit tests introduction

Anton Keks, 27 Aug 2010

We, at Codeborne, take testing very seriously.Testing your code is the only way to guarantee quality and be confident that your masterpiece actually works. Here is a small introduction to...

Read more

Partial mocks

11 Jun 2010

Suppose we have this class: public class Foo { int getA() { return 42; } int getB() { return 1; } int getC() { return getA() + getB(); } }...

Read more