Testing
-
Core Java

JUnit in a Nutshell: Hello World
JUnit seems to be the most popular testing tool for developers within the Java world. So it is no wonder…
Read More » -
Core Java

Understanding JUnit’s Runner architecture
Some weeks ago I started creating a small JUnit Runner (Oleaster) that allows you to use the Jasmine way of…
Read More » -
Software Development

Test Attribute #9 – Deterministic
I keep hammering on trust and how it’s crucial that we trust our tests. If a test is deterministic, it…
Read More » -
Enterprise Java

Writing Clean Tests – To Verify Or Not To Verify
When we write unit tests that use mock objects, we follow these steps: …
Read More » -
Software Development

Test Attribute #8 – Truthiness
I want to thank Steven Colbert for coining a word I can use in my title. Without him, all this…
Read More » -
Software Development

Writing Tests for Data Access Code – Don’t Forget the Database
When we write tests for our data access code, we must follow these three rules: …
Read More » -
Software Development

Test Attribute #7 – Footprint
When we talk footprint, we’re really talking about isolation. Isolation is key to trust. Wait, What? The “checking” part of…
Read More » -
Core Java

Clean JUnit Throwable-Tests with Java 8 Lambdas
Recently I was involved in a short online discussion on twitter and google+ which concerned the question why the arrival…
Read More » -
Software Development

Test Attribute #6 – Maintenance
I always hated the word “maintainability” in the context of tests. Tests, like any other code are maintainable. Unless there…
Read More »


