InfoQ

InfoQ

Topic/Tag specific view

JUnit Content on InfoQ


Latest featured content about JUnit

Unit and Integration Testing for GWT Applications

Topics
GWT,
JUnit,
AJAX,
Java,
Java Web Frameworks,
Web Frameworks,
Unit Testing,
Rich Internet Apps,
Languages,
WOA,
Architecture,
Programming,
Testing,
TDD

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,
HTTP,
JUnit,
Languages,
Open Source,
W3C,
Unit Testing,
Tools,
REST,
Programming,
TDD,
Testing,
Jetty,
Agile,
Specifications,
Enterprise Architecture,
Architecture

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,
Test Automation,
JUnit,
Unit Testing,
Automation,
Languages,
TDD,
Testing,
Programming,
TestNG

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
Continuous Integration,
Java,
JUnit,
Eclipse,
Test Automation,
Agile Techniques,
Languages,
Unit Testing,
IDE,
Automation,
Programming,
TDD,
Testing,
Agile

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
Extensibility,
Java,
JUnit,
OOP,
Methodologies,
Languages,
Unit Testing,
Programming,
TDD,
Testing

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.

Forget Your Debugger, Use The "Saff Squeeze"

Topics
Delivering Quality,
Java,
JUnit,
Debuggers,
Quality,
.NET,
Languages,
Unit Testing,
Debugging,
Software Craftsmanship,
TDD,
Programming,
Agile,
Testing

Kent Beck, renowned co-father of XP, TDD, and JUnit itself, tells a story about tracking down a defect in a new JUnit feature, JUnitMax, with unit tests instead of a debugger. He explains a method shown to him by current JUnit lead developer, David Saff, where a high level unit test is recursively inlined until a super concise test is created down at the very root of the defect.

Articles about JUnit

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

Topics
Java,
JUnit,
Unit Testing,
Languages,
Software Testing,
Programming,
TDD,
TestNG,
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
Java,
JUnit,
Languages,
Unit Testing,
Architecture,
Programming,
TDD,
Agile,
Testing,
Performance & Scalability,
Mocks

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
JPA,
Spring,
Java EE,
Java,
SpringSource,
Dependency Injection,
JUnit,
VMWare,
Languages,
Software Testing,
Debugging,
Design Pattern,
Unit Testing,
Programming,
Testing,
Patterns,
Design,
Object Oriented Design,
Companies,
TDD,
Eclipse

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.

Book Excerpt: Continuous Integration means Continuous Testing

Topics
Delivering Quality,
Quality,
Continuous Integration,
JUnit,
Agile Techniques,
Unit Testing,
Software Craftsmanship,
Agile,
TestNG,
TDD,
DbUnit,
Fit / Fitnesse,
Selenium,
Testing

Continuous Integration, a basic XP practice, has now become an accepted development best practice. InfoQ presents Chapter 6: Continuous Testing, with advice and examples for writing good tests to ensure system quality, from the book "Continuous Integration: Improving Software Quality and Reducing Risk," which aims help teams make CI a transparent "non-event".

Interviews about JUnit

Erich Gamma Discusses Jazz, Eclipse, JUnit and Design Patterns

Topics
Releases,
Release,
Collaboration,
Java,
Artifacts & Tools,
Version Control,
QCon London 2008,
Dependency Injection,
JUnit,
QCon,
Languages,
Object Oriented Design,
Source Control,
Tools,
Design Pattern,
Teamwork,
IDE,
Unit Testing,
Community,
Architecture,
Agile,
Programming,
TDD,
Design,
Testing,
Conferences,
Eclipse,
Design Patterns,
Patterns,
Jazz

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.