1.0.1 • Published 4 years ago
teststep-core v1.0.1
TestStep
TestStep allows you to go from:
name: Example
env:
host: ushakov.co
steps:
first:
name: Status test
endpoint: https://{{env.host}}
method: GET
headers:
Content-Type: application/json
check:
status: 404
to:
❗️(Example 1/1) Status test
❗️status
was: 200
expected: 404
Writing tests
see tests for examples
Running tests
Using Docker
Custom image
FROM docker.pkg.github.com/mishushakov/teststep-cli/teststep-cli:latest
COPY . tests
Volume mount
docker run docker.pkg.github.com/mishushakov/teststep-cli/teststep-cli:latest -v <path to your yamls>:tests
Manually
git clone
this repo- put your tests into tests
- run
npm i
- run
npm start
1.0.1
4 years ago