Seed automatically runs the tests for your project.


For Node.js we run the tests you have defined in your project’s package.json for the test script by running the following as a part of our build process.

$ npm run test

For example, in your package.json you could have the following.

  "scripts": {
    "test": "jest"

Here we are using Jest to run our tests.

If the test script is not found in the package.json, then the tests are skipped and the build is directly deployed.


For Python we use the following command to run the tests in your project.

$ python -m unittest discover -s tests

This looks for the tests in the tests/ directory.

Finally, Seed will deploy your stage if the tests pass successfully.