Running Integration Tests

Using Signadot, you write API integration tests for your Services without implementing mocks of Services it depends on. You spin up a Workspace containing your Service in a Kubernetes cluster that has a baseline version of all Services running.

To understand how workspaces give you sandbox environments to run tests, refer to the section on How it works. The typical workflow with integration tests looks as follows:

  1. Set up a workspace with one or more services containing changes using the SDK
  2. Run one or integration tests against preview URL generated for workspace using any test framework of your choice
  3. Tear down the workspace using the SDK

You use Signadot client SDKs to manage the lifecycle of Workspaces within your tests. Signadot supports the following SDKs that you can use to write integration tests.

  1. Java
  2. Node.js

Did this page help you?