Skip to content
This repository has been archived by the owner on Mar 26, 2021. It is now read-only.

Latest commit

 

History

History
38 lines (30 loc) · 1.5 KB

CONTRIBUTING.md

File metadata and controls

38 lines (30 loc) · 1.5 KB

Contributing

Build

npm run build

Manual testing

export STREST_URL=https://jsonplaceholder.typicode.com
node dist/main.js tests/success/
export STREST_GMT_DATE=$(TZ=GMT-0 date --date='10 seconds' --rfc-2822 | sed "s/+0000/GMT/g")
node dist/main.js tests/success_validate_retries/
node dist/main.js tests/failure/ --no-exit
node dist/main.js tests/success/bulk.yml -b
# Manual chained executions
node dist/main.js tests/success/chaining/login.strest.yml -s
node dist/main.js tests/success/chaining/verify_login_chained.strest.yml -l -s
node dist/main.js tests/success/chaining/login.strest.yml -s tests/strest_history.json
node dist/main.js tests/success/chaining/verify_login_chained.strest.yml -l tests/strest_history.json -s tests/strest_history.json
node dist/main.js tests/success/chaining/login.strest.yml -s /tmp/strest_history.json
node dist/main.js tests/success/chaining/verify_login_chained.strest.yml -l /tmp/strest_history.json -s /tmp/strest_history.json

Publishing - Information for Collaborators

When / before you merge a Pull Request, there are more steps to go.

  1. Check whether the TravisCI check passed successfully
  2. Update the npm version in the package.json
    • Patches / Bug fixes: 1.0.x
    • Minor releases / New features: 1.x.0
  3. Draft a new Release on Github
    • Tag Version = npm version

The new Release will automatically publish the new changes under the new package version into the npm registry.