Testing a user-defined pattern
Ensure that you test your user-defined pattern before you share it with your pattern users.
Before you begin
About this task
Procedure
To test your user-defined pattern:
- In the Pattern Authoring editor, click the Create Pattern tab.
- Click Test Pattern. The Workspace Launcher window opens.
- Select the temporary workspace in which to generate an
instance of your user-defined pattern. Click Browse.
Select a workspace or enter a workspace in the Workspace field.
Click OK. The selected workspace opens.
- Click the Patterns Explorer tab
in the Application Development view. Your new user-defined pattern is shown in the Patterns Explorer view.
- Test your pattern by generating a new pattern instance.
- If you want to change your pattern, change the pattern
authoring project and then rebuild the pattern plug-ins. If you are changing only Java or PHP pattern authoring API code, you do not have to rebuild the pattern plug-ins; see Testing Java code and Testing PHP API code.