In development teams, there is often discussion about using the @Ignore tag for failing tests.
In particular, developers who are very enthusiastic about writing unit tests often tend to be very dogmatic about it. They argue, "A test should never be...
4 replies - 2373 views - 07/25/11 by Michael Schnell in Articles
I’m happy to announce the release of TestNG
5.12.
The most important change is that JDK 1.4 and Javadoc annotations are
no longer supported. If you are still using JDK 1.4, you will have to
stick with TestNG 5.11.
1 replies - 3910 views - 03/29/10 by Cedric Beust in News
Unfortunately handling exceptions thrown by
methods under test has always been cumbersome. There has been some
relief in the last few months, as both JUnit and TestNG made an
effort to improve the handling of error conditions:
JUnit 4.7 added rules with...
8 replies - 5099 views - 03/18/10 by Thomas Mauch in Articles
Java developers finally have a chance to get their hands on a powerful open source JEE testing tool from JBoss. Arquillian is an extension for testing frameworks such as JUnit and TestNG that can be used to validate the behavior of managed beans, enterprise...
0 replies - 6652 views - 03/15/10 by Mitchell Pronsc... in Articles
To someone who is new to unit testing, the idea of mock objects can be confusing to say the least. I have covered in previous tutorials how to use various mock object frameworks (EasyMock and jmockit). However in this tutorial, we will focus on the...
0 replies - 6642 views - 08/16/08 by Michael Minella in Articles
We've spent ten years developing a highly-successful artificial intelligence system used in pathology labs around the world. As a very small team, one of the keys to our succes has been our hard-core approach to testing. Basically, we have automated tests for...
0 replies - 3093 views - 08/09/08 by Tim Lavers in Announcements
This tutorial is part two in a two part series on TestNG and jmockit. The previous tutorial (found here) covered the classic JUnit and EasyMock scenario, only with TestNG and jmockit. Although you can do that type of testing with these two technologies, that...
0 replies - 8912 views - 06/30/08 by Michael Minella in Articles
TestNG is a testing framework for unit test development. JMockit is a framework for mock objects that provides mock object functionality using the java.lang.instrument package of jdk 1.5. Together, these frameworks can provide the tools to create very robust...
4 replies - 24323 views - 06/24/08 by Michael Minella in Articles