junit

  • submit to reddit

Easy Unit and Integration Code Coverage

This example shows how to generate coverage for unit and integration tests using Maven and Sonar. It uses very simple techniques and should only take 10-15...

0 replies - 9537 views - 05/17/12 by John Dobie in Articles

Categorize tests to reduce build time.

Before we progress with the main content of the article, let's get a few definitions out of the way. Unit tests Unit tests are tests that are small...

0 replies - 4064 views - 05/13/12 by Partha Bhattacharjee in Articles

My Testing and Code Analysis Toolbox

Last week we kicked of a “Testing Skill Group” at LINEAS, a group for exchanging knowledge about testing. One question that came up over and over again...

1 replies - 5887 views - 12/12/11 by Jens Schauder in Articles

The Misuse of End To End Tests - Testing Techniques 2

My last blog was the first in a series of blogs on approaches to testing code, outlining a simple scenario of retrieving an address from a database using...

0 replies - 5036 views - 11/16/11 by Roger Hughes in Articles

JUnit 4.9 - Class and Suite Level Rules

If you have worked with JUnit Rule API which was introduced in version  4.8 then you might probably also think that they are very useful. For example,...

1 replies - 14245 views - 01/31/11 by Shekhar Gulati in Articles

Daily Dose - Will NetBeans Have to Remove JUnit?

NetBeans Platform Architect Jaroslav Tulach recently posted some surprising news on the JUnit Yahoo Group.  "We have new lawyers," he said, and...

0 replies - 18823 views - 01/18/11 by Mitch Pronschinske in Daily Dose

JUnit Testing Private Method

0 replies - 2335 views - 11/28/10 by Katarina Majetic in Uncategorized

Velocity 101 Unit Tests

1 replies - 6568 views - 02/27/06 by Snippets Manager in Uncategorized

Email 101 Unit Tests

0 replies - 7231 views - 02/27/06 by Snippets Manager in Uncategorized

JUnit: Convenient Use Of TestSuite Based On Parameterized TestCases

0 replies - 6950 views - 09/19/05 by Snippets Manager in Uncategorized