We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
So other tools can use it without having to spawn. Right now I spawn in gulp-ava.
gulp-ava
This would also help us have a better separation between the CLI and the API.
The API should be high-level and do whatever the CLI does now, like forking, etc. The CLI would just be a super-thin wrapper calling the API.
const Ava = require('ava').Ava; const instance = new Ava({ files: ['foo.js', 'test/**'], failFast: true }); instance.run(); instance.log().pipe(process.stdout);
The above is just a quick example. I hope it will end up looking better than that.
The text was updated successfully, but these errors were encountered:
I'll try work on this tomorrow. Definitely needed.
Sorry, something went wrong.
766cfee
Close #279 PR: Add programmatic API. Fixes #83
c424ceb
kevva
No branches or pull requests
So other tools can use it without having to spawn. Right now I spawn in
gulp-ava
.This would also help us have a better separation between the CLI and the API.
The API should be high-level and do whatever the CLI does now, like forking, etc. The CLI would just be a super-thin wrapper calling the API.
The above is just a quick example. I hope it will end up looking better than that.
The text was updated successfully, but these errors were encountered: