Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update documentation, add option --onFailOnly and update exit code #1

Open
3 of 4 tasks
piopi opened this issue Mar 12, 2021 · 0 comments · May be fixed by #2
Open
3 of 4 tasks

Update documentation, add option --onFailOnly and update exit code #1

piopi opened this issue Mar 12, 2021 · 0 comments · May be fixed by #2

Comments

@piopi
Copy link
Owner

piopi commented Mar 12, 2021

  • ReadMe updated to reflect recent changes
  • add -h option to the CLI command
  • handle exit code
  • add --onFailOnly option to send webhook only when the test fails

Handle exit code with this snippet
.then((results) => { console.log(results) process.exit(results.totalFailed) }) .catch((err) => { console.error(err) process.exit(1) })

@piopi piopi linked a pull request Mar 16, 2021 that will close this issue
4 tasks
@piopi piopi linked a pull request Mar 16, 2021 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant