Bruno P. Kinoshita

Abstract

This book is an Open Source project intended to give users a further understanding of what is TAP and how to use it with Java. In this book examples using TestNG and JUnit are used to better explain how you can use TAP in a productive Java environment.


Table of Contents

1. An Introduction to TAP
History
Why would you use TAP in your Java programs?
2. Where is TAP being used?
3. Alternatives to TAP
4. How to use TAP in Java
5. JUnit and TAP
6. TestNG and TAP
7. Diagnostics in TAP with YAML
Bibliography

List of Examples

5.1. sample.MyJUnitTestClass.java
5.2. sample.RunJUnitSuiteWithListener.java
5.3. sample.MyJUnitTestClass-SUITE.tap
5.4. sample.MyJUnitTestClass.tap
5.5. sample.MyJUnitTestClass#testEquals.tap
5.6.
5.7. sample.MyJUnitTestClass#testEquals.tap
6.1. sample.MyFirstTest.java
6.2. sample.MyFirstTest.tap
6.3. sample.MyFirstTest#testCurrentTime.tap
6.4. sample.suite.xml
6.5. sample.suite.yaml
6.6. Sample suite.tap
7.1. YAMLish diagnostics in TAP