SequenceTestRunner - Result result =...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
import org.junit.runner.JUnitCore; import org.junit.runner.Result; import org.junit.runner.notification.Failure; i class SequenceTestRunner { public static void main(String[] args) {
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Result result = JUnitCore.runClasses(SequenceTest.class); for (Failure failure : result.getFailures()) { System.out.println(failure.toString()); } }...
View Full Document

This note was uploaded on 09/08/2011 for the course COMPUTERS 100 taught by Professor Sinha during the Spring '05 term at IIT Kanpur.

Ask a homework question - tutors are online