InfoQ

InfoQ

Topic/Tag specific view

JUnit Content on InfoQ


Latest featured content about JUnit

Unit and Integration Testing for GWT Applications

Topics
Unit Testing,
Java,
Web Frameworks

Bertrand Paquet and Gael Lazzari of Octo Technology explore Unit Testing GWT applications and introduce their own open source gwt-test-utils framework to support unit and integration testing of GWT code with standard tools such as JUnit and Easymock.

News about JUnit

Restfuse 1.0.0 - A Library For Easy REST/HTTP Integration Tests

Topics
Java,
Open Source,
Tools,
REST,
Unit Testing

EclipseSource has released the first stable version for an open source JUnit extension that automates testing of REST/HTTP services supporting both synchronous and asynchronous calls.

TestNG 6 adds Guice and YAML

Topics
Java,
Unit Testing

Cedric Beust has announced TestNG 6.0, with Guice and YAML support and including improvements to the Eclipse TestNG plug-in.

JUnitMax tightens the feedback cycle of software development

Topics
Eclipse,
Unit Testing,
Java

Kent Beck re-released JUnitMax, a continuous test runner plugin for Eclipse that tightens the feedback loop of programmers aiming for a low risk, high throughput pace of development.

JUnit 4.7: Per-Test rules

Topics
Java,
Extensibility

JUnit 4.7, which has just reached Release Candidate stage includes a significant new feature: Rules. Rules are, in essence, another extension mechanism for JUnit, which can be used to add functionality to JUnit on a per-test basis. Most examples of custom runners in earlier versions of JUnit can be replaced by Rules, and new capabilities have already been added.

Articles about JUnit

Interview and Book Excerpt: Hani Suleiman & Cedric Beust, "Next Generation Java Testing: TestNG and Advanced Concepts"

Topics
Unit Testing,
Java,
Software Testing

InfoQ.com recently sat down with Hani Suleiman and Cédric Beust the authors of Next Generation Java Testing: TestNG and Advanced Concepts to discuss the book and their thoughts about testing in general. InfoQ is also pleased to offer an excerpt from chapter 2 of the book, "Mocks and Stubs".

Iterative, Automated and Continuous Performance

Topics
Agile,
Java,
Unit Testing,
Architecture,
Performance & Scalability

Iterative and continuous are terms that are often used in reference to testing of software. This new InfoQ article takes a look at whether the same concepts can be applied to performance tuning. Along the way topics such as tooling and mocks are discuss in regards to how they need to be adjusted for performance in respect to testing for functional requirements.

Software Testing With Spring Framework

Topics
Java,
Debugging,
Software Testing

Srini & Kavitha Penchikala provide an overview of the support provided by Spring framework in the areas of unit and integration testing. I will use a sample loan processing web application to help the readers in implementing an Agile Testing framework in a typical Java EE application and how to use Spring test classes to test the application functionality.

Interviews about JUnit

Erich Gamma Discusses Jazz, Eclipse, JUnit and Design Patterns

Topics
Artifacts & Tools,
Programming,
Unit Testing,
Object Oriented Design,
Java,
IDE,
Collaboration,
Architecture

In this interview from QCon London 2008, Erich Gamma discusses the Jazz project, why Eclipse has been successful, the strict Eclipse release schedule, JUnit, Design Patterns, how to identify a design pattern, design patterns and the 'Don't Repeat Yourself' principle, the design pattern community, and whether dependency injection is a design pattern.