Did you know? DZone has great portals for Python, Cloud, NoSQL, and HTML5!

junit

  • submit to reddit

My Testing and Code Analysis Toolbox

The DevOps Zone is presented by ThoughtWorks Studios and UrbanCode to bring you the most interesting and relevant content on the DevOps movement.  See today's top DevOps content and be sure to check out ThoughtWorks Studio's Continuous Delivery Whitepapers and UrbanCode's Webinars.

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 in various flavors was: What tools are there for testing and analyzing your code? So here is my...

0 replies - 4076 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 a very common pattern:

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

Verify logging events within a unit tests.

// Removed already posted by someone else.

0 replies - 815 views - 09/26/11 by Stephen Price in Announcements

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

Release of JUnit-DynamicSuite (0.2.0) (A Suite to filter JUnit 4.x Tests dynamically)

Did you ever have the problem that you only wanted to run certain unit tests from a directory in JUnit? For example you might want to run fast running Tests only or skip integration tests ending with "ITCase". Some IDEs do have good support for...

2 replies - 1030 views - 07/20/11 by Christof Schoell in Announcements

Is AgileUnit the next test generation?

I found a very innovative project at sourceforge called AgileUnit. It seems to me an alternative or supplement to junit. Very exciting for me is the approach to combine the synergy from development with Requirements. Has anyone experience with it and what you...

0 replies - 505 views - 05/16/11 by Ricardo Ferreira in Announcements

PODAM 2.1.0.RELEASE released

Dear all,  I'm proud to announce that PODAM 2.1.0.RELEASE was released yesterday. To see what's changed, please refer to the release notes.  PODAM is a tool to fill POJOs/JavaBean with data. Although the default strategy is to fill data with random data,one...

0 replies - 734 views - 05/01/11 by Marco Tedone in Announcements

PODAM 0.0.1-RC4 is ready. RFF (Request For Feedback)

Dear all, I finally completed the first version of PODAM, which is now 0.0.1-RC3. Before releasing the final version I'd like to collect feedbacks, bugs, feature requests to make PODAM an even better tool. Podam is a tool designed to help Java developers to...

0 replies - 609 views - 04/26/11 by Marco Tedone in Announcements

PODAM Draft release is available now

The first draft of PODAM is ready. Currently the framework sets the initial state of a POJO with random values. The supported types are: Primitive typesWrapper classesStringarrays of objectsarrays of primitivesAny other object which either has a no-arg...

0 replies - 768 views - 04/03/11 by Marco Tedone in Announcements

Making Test Driven Development Work: Test Readability

To achieve an impeccable system design, write a failing test first, a simple implementation to pass the test, refactor and repeat. Sounds easy, right? Then why is it not so easy to get developers to adopt this technique on a regular, or better yet,...

3 replies - 5191 views - 02/23/11 by Jonathan Fullam 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, there is a Rule called TemporaryFolder which creates files and folder before test is executed and...

1 replies - 8929 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 they're concerned about the JUnit license—the Common Public License, which is a bit dated in Tulach's...

0 replies - 14550 views - 01/18/11 by Mitchell Pronsc... in Daily Dose

The Art of Unit Testing in Java - Early Access Book Review

The aim of this book is to give an introduction to Java developers who have little or no experience with unit testing. The author does a sound job of covering the basic principals of unit testing....

0 replies - 4374 views - 08/26/10 by Jörg Buchberger in Book Reviews

Implementing REST Services with Apache Pivot

Apache Pivot is a platform for building rich Internet applications (RIAs) in Java. While it is geared primarily towards user interface construction, Pivot contains a number of features that make it suitable for non-UI applications as well.

2 replies - 5476 views - 08/25/10 by Greg Brown in Articles

Geb: Groovy Functional Testing on the Web

Have you ever wanted an automated, cross-browser testing tool for Groovy that also works as a screen scraping and process automation tool?  If you have, then you should consider test-driving Geb (pronounced "jeb").  The open source browser...

0 replies - 9391 views - 08/17/10 by Mitchell Pronsc... in Articles