Skip to main content

Unit testing a process

Suggest edit Updated on November 26, 2021

To ensure that users of your application can successfully complete a process, unit test the process. By testing a process individually before testing it in the context of the entire application, you can quickly identify and fix any issues on a more granular level.

When you unit test a process, you run through the process, provide sample data as the input, and examine the behavior and results. When you test a process, the system creates a new test page, starts running the process, and creates a case.Note: You can unit test processes that belong to classes that do not contain case types with the Create stage. For more information, see The Create stage.
  1. In the navigation pane of Dev Studio, click RecordsProcessFlow, and then select the process.
  2. In the toolbar, click ActionsRun.
  3. Step through each decision or assignment and provide input in each step.
  4. To test each possible path, run through the process as many times as necessary and provide different output.
Did you find this content helpful? YesNo

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us