TestSuite with JUnit

Junit provides a way to test any number of tests together. @RunWith and @Suite annotation are used to run the suite test. Following example demonstrates how to use Test Suit.

Create following class

package com.kruders.junit;

import org.junit.runner.RunWith;
import org.junit.runners.Suite;

public class AllTests {



No comments yet.

Leave a Reply