/testing/

2020 / September

The religion of test-driven development

I recently talked to another developer and mentioned that I use TDD. The other person then asked me whether I'm also one of those religious TDD followers? I had never thought about this. Do people think I'm preaching to them when I encourage them to use TDD? Are they only doing…

2020 / July

Using GitHub actions and Vercel for end-to-end tests

End-to-end (E2E) tests are the tip of the test pyramid. They are supposedly the hardest to write and take the longest to run. But they are also valuable as they are the tests that "use" your app like your users do.

When we first started to use E2E tests at Signavio we were able to run them after changes got merged to our master branch but not on feature branches. That is problematic because when they uncovered a defect it had already made it to our…

Tests that help you find defects faster

This is one of the most important lessons I try to teach less experienced developers. Next to making sure that your code works now, it's also important to make sure that developers are able to fix defects in the future. The first step to achieving this is to write tests…