Sampath's Blog
Thursday, December 15, 2005
  About Junit Test

A test suite may contain any class that implements the Test interface, including other suites.

Test Case. A test case, such as AmountTest, collects a set of one or more related test methods and is usually a subclass of the framework class TestCase. Each test method name must start with “test” and has no arguments, e.g., testSetCurrency().
Test Suite. A test suite is a collection of tests that are run at the same time. A test suite is often constructed dynamically from selected test cases or may contain only a single test method.
Test Runner. A test runner is a utility used to run a suite of tests. The runner may provide a graphical presentation, such as an Eclipse view, or a command-line execution that is incorporated into automated build files.

Code that creates the objects used by the tests. This testing context is
referred to as a test’s fixture. The setUp() and tearDown() methods are
part of the fixture.
 

ARCHIVES
December 2005 / January 2006 / March 2006 / May 2008 / March 2009 / August 2019 /


Powered by Blogger