Introducing Conductor Cloud →Skip to docs content
Conductor

Testing

Automate testing in Conductor

After you make changes in a workspace, test them with either a run script or Spotlight testing.

Run scripts test from the workspace directory. Spotlight testing syncs one workspace back to the repository root and tests from there.

Run scripts

Use a run script to launch your web server, app, test watcher, or unit tests from the Run button in Conductor's workspace toolbar.

Run scripts execute in the workspace directory. They can use $CONDUCTOR_PORT, so multiple workspaces can run their own copy of the app without fighting for the same port.

For setup details, see Run script reference.

Spotlight testing

Use Spotlight testing when your project needs to run from the repository root instead of the workspace directory. Enable it in Repository Settings for the project you want to test, then use the Spotlight button from the workspace toolbar.

When Spotlight is on, Conductor syncs tracked workspace changes back to the repository root and opens a terminal there. Because Spotlight testing is configured per repository, you can decide which projects use root-based testing and which projects keep isolated workspace run scripts.

For when to use Spotlight instead of a run script, see Spotlight testing.

Running microservices at once

Conductor only supports automating testing one service at a time. If your application requires microservices to be tested at once, see Linking multiple directories.

On this page