Quantcast
Channel: tdd – Dazed & Confused
Browsing latest articles
Browse All 6 View Live

Image may be NSFW.
Clik here to view.

GUTs and BUTs

Alright, so it’s a cheap one, but I had to do it. Alistair Cockburn coined the term GUTs – Good Unit Tests in a blog entry. Having a term for it was a bit of an eye opener. I do TDD, but it’s not...

View Article



Clover saving time in development

I read this post about Clover and using it to minimise the number of tests run. A nice idea, so I decided to have a go at it. What it does is use the test-coverage that it was originally written to do,...

View Article

Setting up testdata with test data builders

Doing TDD has become a way of life for me. One the one hand tests are the security net that lets me refactor my code, but is also a restricting force when it comes to changing code. Experience has...

View Article

TestNG and Junit 4 compared

IBM DeveloperWorks has a good article comparing TestNG and Junit 4. I havn’t really paid much attention to the issue before, but it seems I should have a look at TestNG. It will probably be a better...

View Article

Quicker JUnit Spring context tests in Maven

This is probably fairly well known, but I couldn’t find any doc on it when I searched so I’ll put it up here. First off: Don’t load your Spring Context in your tests unless you absolutely have to. Some...

View Article


Image may be NSFW.
Clik here to view.

JUnit and ParameterResolver — Caching database connections in your tests

This is a re-post of an original Medium article. As I am moving my content here I will re-post some content. We aim for fast tests, ideally completing all tests within 30 seconds. Currently, our tests...

View Article
Browsing latest articles
Browse All 6 View Live




Latest Images