Example running saucectl with api testing.
- The steps below illustrate how to get set up. If you'd like a more in-depth guide, please check out our documentation.
- You can also get familiar with our test script syntax by following our documentation.
npm install -g saucectl
saucectl configure
Note: A Project needs to be existing in your account with the saucectl-apitest-example
name.
saucectl run
saucectl
will give a non-zero exit code if any of the tests fail. Otherwise, it will be returning 0.
You will have a summary of the test results along with the test duration of each test.
Follow me if you'd like to see how saucectl is configured for this repository.
Our IDE Integrations (e.g. Visual Studio Code) can help you out by validating the YAML files and provide handy suggestions, so make sure to check them out!