testng

  • submit to reddit

How I Learned to Stop Worrying and Love TestNG

Think back to your early 20′s. Remember going out on Halloween or New Year’s Eve? No sooner do you walk into a bar than someone in your group starts...

4 replies - 2533 views - 03/02/13 by Sarah Goff-dupont in Articles

PowerMock, Features and Use Cases

Even if you don’t like it, your job sometimes requires you to maintain legacy applications. It happened to me (fortunately rarely), and the first thing I...

0 replies - 3086 views - 10/07/12 by Nicolas Frankel in Articles

Database unit testing with DBUnit, Spring and TestNG

I really like Spring, so I tend to use its features to the fullest. However, in some dark corners of its philosophy, I tend to disagree with some of its...

1 replies - 8721 views - 06/04/12 by Nicolas Frankel in Articles

Arquillian on Legacy Servers

In most contexts, when something doesn't work, you just Google the error and you're basically done. One good thing about working for organizations that lag...

0 replies - 3045 views - 05/27/12 by Nicolas Frankel in Articles

@Ignore unit tests immediately if they fail!

In development teams, there is often discussion about using the @Ignore tag for failing tests. In particular, developers who are very enthusiastic about...

4 replies - 4143 views - 07/25/11 by Michael Schnell in Articles

Announcing TestNG 5.12

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...

0 replies - 5113 views - 03/29/10 by Cedric Beust in News

Effectively Handling Exceptions in Testing Using MagicTest

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...

8 replies - 7941 views - 03/18/10 by Thomas Mauch in Articles

Arquillian in Action; New Features Coming Soon

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...

0 replies - 9072 views - 03/15/10 by Mitch Pronschinske in Articles

How To Exclude Methods In TestNG: IMethodSelector

0 replies - 4111 views - 11/08/08 by Snippets Manager in Uncategorized

The Concept of Mocking

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...

0 replies - 10168 views - 08/16/08 by Michael Minella in Articles

Swing Extreme Testing

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...

0 replies - 3888 views - 08/09/08 by Tim Lavers in Announcements

Unit Testing with TestNG and JMockit Part 2

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...

0 replies - 10507 views - 06/30/08 by Michael Minella in Articles

Unit Testing With TestNG and JMockit

TestNG is a testing framework for unit test development. JMockit is a framework for mock objects that provides mock object functionality using the...

4 replies - 28689 views - 06/24/08 by Michael Minella in Articles