Quantcast
Channel: Jean-Baptiste Rieu » unit test
Browsing latest articles
Browse All 10 View Live

Test Culture Episode 4 : 336 Combinations Manually Tested.

Let me illustrate the importance of unit testing with a budget / motivation nightmare we lived in one of my job. The Monster We had an in-house system in our RCP application to test whether or not a...

View Article



Test Culture Episode 5 : “Hudson. We Got A Problem”

Unit tests are uselesss if they are not launched often, automatically and do some noise when crashing ! Hudson, Jenkins or Whatever Rule N° 1 : You need a system to launch your tests automatically....

View Article

Test Culture Episode 6 : Unit Tests Are Better Than Excellent Specifications

Let me rephrase : GOOD unit tests are better than excellent specifications. Unit tests actually ARE the specifications. It’s Mathematical Here’s the equation : Excellent specifications = Very refined...

View Article

Test Culture Episode 7. “Tests Are Broken ? Let’s Ignore Them !”

No.  You can’t ! As a manager the only bossy instruction you should give is :  “Don’t you ever shut down a crashing test ! Fix it now !” If a test is broken and red, no one should ever take the...

View Article

Test Culture Episode 8. Moving Sh*t Around.

« If you don’t have unit tests, you are not refactoring, you are just moving shit around » I’m so sorry. I could not find the source of this quote. But you get the meaning anyways. Or maybe not… Maybe...

View Article


Image may be NSFW.
Clik here to view.

Test Culture Episode 9. A 100% Is Not Enough.

As a manager you love metrics. Code coverage is a good metric. But a very limited one. Don’t be naive : a 100% code coverage is impossible and not enough to ensure quality. You must do more. Code...

View Article

Good Unit Test CheckList

Here are a few items I try to respect every time I write unit tests. My test class is testing one and only one class My methods are testing one and only one method at a time My variables and methods...

View Article

Test Culture Episode 10. Knowing When To Stop.

Unit tests are like  painting. A good artist knows what he wants and when he has it.  He also knows the “why”.  Same for  (good) developers/managers. Having The End In Mind First : you must know why...

View Article


Test Culture Episode 11. What’s The Cost Of Unit Tests ?

This is the big question : how much ? Cheap people only calculate cost with money.  But if you want well-tested software you’ve got to see the bigger picture. Here is how I see it. But since it’s quite...

View Article


Image may be NSFW.
Clik here to view.

Unit Tests Explained To Managers In 10 points. Test Culture Episode 12.

Here are 10 reasons why you, as a manager,  should care about unit tests. It’s a summary of this series of 12 articles on unit tests for managers. Evaluate Your Position First a little test for you to...

View Article
Browsing latest articles
Browse All 10 View Live




Latest Images