InfoQ

Topic/Tag specific view

All content and news on InfoQ about JUnit


Latest featured content about JUnit

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

Community
Java
Topics
Software Testing,
Unit 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".

News about JUnit

Continuous Integration and Code Inspection with Hudson and FindBugs

Community
Java,
Agile
Topics
Artifacts & Tools,
Delivering Quality,
Open Source,
Configuration Management

A recent article published in IBM developerWorks talks about automating Continuous Integration and Code Inspection tasks in a build process using open source tools. It explains how to install and configure Hudson server with Subversion, Ant, and software inspection tools like FindBugs and PMD to create a build process with continuous feedback on test results and defects.

Article: Iterative, Automated and Continuous Performance

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

A new InfoQ article looks at evaluating performance in an iterative and continuous manner.

Test Driven Code Reuse

Community
Java,
Agile
Topics
Reuse

Code reuse has been the holy grail of software development for a long time. Historically we've tried to achieve code reuse through abstractions and frameworks, which came with their own technical debt. There is now a novel approach that leverages the power of search tools and automated developer tests to search open-source code for matches against interface and behavior.

Presentation: System Integration Testing with Spring

Community
Java
Topics
Software Testing,
Unit Testing

Spring provides a holistic solution that makes your application's use cases and subsystems easier to test. The emphasis is on testing outside a JEE server or container, thus greatly improving productivity. In this presentation, Spring Creator Rod Johnson discusses integration testing and the support that Spring provides for it.

Book Excerpt: How to Improve your Continuous Testing

Community
Agile
Topics
Delivering Quality,
Agile Techniques

Continuous Integration has become a standard development best practice - but it's not always done well. Tests take up much of an application's build time, and poorly constructed test suites can cause long builds, whereupon teams start to circumvent agreed-upon CI practices just get the time to code. InfoQ presents advice and examples in Chapter 6: Continuous Testing from a new CI book.

Articles about JUnit

Iterative, Automated and Continuous Performance

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

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

Community
Java
Topics
Software Testing,
Debugging

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

Community
Agile
Topics
Delivering Quality,
Agile Techniques

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