Why I use BDD for unit testing

Use behaviour driven development (BDD) to do more than just acceptance testing.

Continue reading “Why I use BDD for unit testing”

Advertisements

Supercharging your unit tests

We want to write unit tests faster, more robust and easier to maintain

  1. Too often we have broken unit tests because we have refactored  code.
  2. Introducing or removing dependencies breaks tests because of missing arguments in constructors.
  3. We waste time arranging and mocking dependencies instead of focusing on testing.
  4. Repetitive plumbing code to mock and inject dependencies.

Continue reading “Supercharging your unit tests”