Creating Readable, Maintainable, Trustworthy Unit Tests in Java

How to write good Unit tests? What is the good Unit test? How different the Unit tests from Integration tests? What is the mock, stubs and what is the difference, where to use one or another?
Probably any programmer asked himself those questions. It does not matter if we use TDD or test after, we want to trust our test and don’t spend too much time maintaining them. How to achive it? In this video, Roy Osherove, author of The Art of Unit Testing: With Examples in .Net
explain how to achieve it. I would aso recommend videos from his web site: http://artofunittesting.com/
If you want a deep dive into the topic in the Java world, (and you should), Lasse Koskela is writing book Effective Unit Testing: A guide for Java DevelopersIt is for Java developers specifically and cover the same issues but with more emphasis on Java tools and practices.

Readable, Maintainable, Trustworthy Unit Tests from JavaZone on Vimeo.

Submit a Comment

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>