Developers » Reference Tools » Unit Tests


Unit Tests

Quick Links

The purpose of unit testing is to enable administrators to test scripts. Use test cases, or test scenarios, to cover all the options from a target script.

We also recommend you to use unit tests while creating your implementation (writing scripts and configuring processes). When you make changes to the script, or after a product release, you should retest your scripts to ensure everything still works correctly.

Unit tests are comprised of three segments:

  • Context Initialization: Defines the input.

  • Script Execution: Call to execute the script.

  • Assertion Methods: Assertions to test against.

To access unit tests, go to Setup > Development > Scripts and locate your unit tests in the file manager.

See Unit Test Script Example for information on writing unit test scripts.