Creating new component test projects

Test projects serve as a grouping mechanism for the test artifacts that are generated when you create a component test. Test projects also serve to define the scope of the test project by limiting the number of files that will be analyzed when you create tests or stubs, especially when you have many projects or large projects in your workspace.

To create a new component test project:
  1. From any perspective, click File > New > Project > Component Test > Component Test Project and then click Next.
  2. On the Create a Component Test Project wizard page, do one of the following:
    • Supply a name for the project and click Next to accept the default storage location
    • Clear the Use default check box, specify a desired location, and click Next.
  3. On the Define the Scope of Component Test Project page, select the components that can be used to create tests or stubs within this project and click Finish.

The new test project is displayed in the Package Explorer view of the Java™ perspective and the Test Navigator view of the Test perspective.

Related concepts
Test-generation process
Standard Java test patterns
Test patterns for Enterprise JavaBeans
Automated component testing

Related tasks
Changing the scope of a test project

Terms of use | Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.