TestNG Content on InfoQ
Latest featured content about TestNG

- Topics
- Java,
- Languages,
- Unit Testing,
- Software Testing,
- Programming,
- TDD,
- Testing,
- TestNG,
- Design Patterns
In this interview from QCon San Francisco 2007, Cédric Beust discusses designing and architecting for testability, problems that hinder testability, test-driven development, the "Next Generation Testing" book, performance testing recipes, and testing small, medium and large codebases.
News about TestNG
- Topics
- Java,
- JUnit,
- Test Automation,
- Languages,
- Unit Testing,
- Automation,
- Programming,
- TDD,
- TestNG,
- Testing
Cedric Beust has announced TestNG 6.0, with Guice and YAML support and including improvements to the Eclipse TestNG plug-in.
- Topics
- Release,
- Version Control,
- Java,
- JUnit,
- Languages,
- Source Control,
- Unit Testing,
- Programming,
- Testing,
- TDD,
- TestNG
JUnit has recently released version 4.5 of the infamous Java testing framework, but is it enough to keep the project in the spotlight? Read more to find what's being talked about regarding the future of JUnit.
- Topics
- Java,
- Languages,
- Unit Testing,
- Software Testing,
- Programming,
- TDD,
- Testing,
- TestNG
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".
- Topics
- Delivering Quality,
- Subversion,
- FindBugs,
- PMD,
- Java,
- Artifacts & Tools,
- Continuous Integration,
- Quality,
- Configuration Management,
- Version Control,
- JUnit,
- Languages,
- Software Craftsmanship,
- Tools,
- Open Source,
- Agile Techniques,
- Source Control,
- ALM,
- Unit Testing,
- Programming,
- Testing,
- TDD,
- Agile,
- TestNG,
- Enterprise Architecture
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.
- Topics
- Delivering Quality,
- JUnit,
- NUnit,
- Quality,
- Continuous Integration,
- Unit Testing,
- Agile Techniques,
- Software Craftsmanship,
- .NET,
- Agile,
- TestNG,
- DbUnit,
- Fit / Fitnesse,
- Selenium,
- TDD,
- Testing,
- Programming
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.
- Topics
- Annotations,
- Java,
- Configuration Management,
- ALM,
- Languages,
- Source Control,
- Programming,
- Enterprise Architecture,
- TestNG,
- Testing
In the ongoing search to find the balance between XML and annotations, TestNG has introduced the concept of annotation transformers. An annotation transformer is code that will override the behavior of existing annotations. This allows you to modify your annotation without using XML and without recompiling your source. You will have to recompile your annotation transformers if you change them.
- Topics
- JUnit,
- Java,
- Build systems,
- Languages,
- Software Testing,
- Unit Testing,
- Programming,
- Testing,
- TDD,
- TestNG
Andrew Glover has compared TestNG and JUnit 4, taking a look at some features that TestNG has over JUnit 4. Andrew quickly takes the position that TestNG is better for large scale testing, despite JUnit 4's recent addition of annotations and "dramatically relaxed structural rules for test case authoring."
Articles about TestNG

- Topics
- JUnit,
- Java,
- Languages,
- Unit Testing,
- Software Testing,
- Programming,
- TDD,
- Testing,
- TestNG
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".

- Topics
- Delivering Quality,
- Continuous Integration,
- Quality,
- JUnit,
- Unit Testing,
- Software Craftsmanship,
- Agile Techniques,
- Fit / Fitnesse,
- Selenium,
- TDD,
- Testing,
- Agile,
- TestNG,
- DbUnit
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".
Presentations about TestNG

- Topics
- Java,
- QCon San Francisco 2007,
- Languages,
- Unit Testing,
- Software Testing,
- QCon,
- Testing,
- Programming,
- TDD,
- Conferences,
- TestNG
In this presentation from QCon San Francisco, Cedric Beust and Alexandru Popescu discuss interesting features of TestNG such as grouping of tests, data providers for tests and dependency handling in tests, tips for designing easily testable code such as eliminating statics, extreme encapsulation and TDD, the importance of functional versus unit testing, and migrating from JUnit to TestNG.