You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 26, 2021. It is now read-only.
Jest allows for custom test runners to be configured; one doesn't need to use Jest's methods to run tests, but one can still benefit from Jest's other features.
A module that passes the results of a test run to a callback.
Example:
// my-api-endpoint-1.test.jsconststrest=require('strest')conststrestConfig={// references to yaml files and configs for this test};strest.run(strestConfig,(err,result)=>{// handle err / result of test run});
Additional context
For reference on what can be done with Jest...
Jest Mocha runner:
Watch typeahead:
Watch select projects:
The text was updated successfully, but these errors were encountered:
larrybotha
changed the title
add module export to allow other services from consuming results of test runs
add module export to allow other services to consume results of test runs
Feb 28, 2019
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
It'd be great to be able to consume the results of tests, as Postman's Newman CLI tool allows.
Jest allows for custom test runners to be configured; one doesn't need to use Jest's methods to run tests, but one can still benefit from Jest's other features.
e.g. there is a Mocha runner for Jest, as well as an ESLint runner.
By allowing for a custom Jest runner to consume results of tests we get the following from Jest:
Describe the solution you'd like
A module that passes the results of a test run to a callback.
Example:
Additional context
For reference on what can be done with Jest...
Jest Mocha runner:
Watch typeahead:
Watch select projects:
The text was updated successfully, but these errors were encountered: