Tests

A test is an HTTP URL endpoint that P4 Code Review calls automatically or manually at certain points in the review workflow. It is essentially a hook that lets P4 Code Review trigger your external CI/CD or automated testing system.

This chapter covers P4 Code Review test management, including:

To add a test to a workflow, see Add a workflow.

Related information:

  • For instructions on how to list, search, and view tests, see Tests.

  • Administrators: For instructions on how to add tests the global workflow, see Global workflow.

  • P4 Code Review tests can be created by any P4 Code Review user.

  • Shared P4 Code Review tests can be viewed by any P4 Code Review user.

  • Shared P4 Code Review tests can be added to a workflow by any P4 Code Review user that is authorized to edit the workflow.

The Tests page is only available if Workflow is enabled, workflow is enabled by default.