1.0.2 • Published 4 years ago

teststep v1.0.2

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
4 years ago

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

  1. git clone this repo
  2. put your tests into tests
  3. run npm i
  4. run npm start
1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago