Comments (9)
Yes, this would be a nice option to have.
I would leave this as an option, because AVA is a tool that enforces writing atomic tests
. So, one failing test does not mean that all the other ones will fail too. But as an option, it is going to be useful for sure.
from ava.
👍
On my own laptop I usually want the tests to fail fast, but in an CI environment I think it's good to run all tests and get a report of what didn't work.
from ava.
What flag name do you prefer? bikeshedding
from ava.
I think I prefer --bail
as it's in line with other test runners.
from ava.
fail-fast
means more to me as a programmer. I'd have no idea what bail
meant.
from ava.
I don't really care what other test runners do. AVA exists because of those. I want something succinct as flag name.
from ava.
I don't really care what other test runners do
👍 Then I agree with --fail-fast
being a better name. Or maybe --abort-on-fail
but that's too long to be good...
from ava.
I like fail-fast
.
from ava.
I'd leave it as an option too, although I'm usually hitting ctrl +c
whenever I see a fail test locally if there are time consuming tests (like in pageres). But most of the times, the tests are finished before that.
Also, +1 on fail-fast
or something like it that makes it's intention clear. bail
has never been that obvious to me.
from ava.
Related Issues (20)
- Add option to filter invalid arguments from `execArgv` when launching worker threads HOT 8
- `t.like` mishandles symbol-keyed and non-enumerable properties
- Custom loader not called on node 20
- Support `.ava` cacheDir for better compatibility with Yarn PnP HOT 1
- Implement .because() modifier for irregular tests HOT 11
- automated assert retries HOT 1
- Executing code in the main thread - e.g. import 'sharp' HOT 2
- Always encounter "Segmentation Fault" when running on Docker node >= 18 and ava >=4
- test.sequential for tests that rely on the sequence
- ava + dynamic tests + sinon.useFakeTimers have weird behaviour - tests fail with no clear error HOT 1
- npx ava -r dotenv-flow/config not working
- AVA hangs after all tests pass HOT 2
- Support a proper junit reporter
- Monorepo with babel aliases support HOT 1
- The watch mode does not work in v6 HOT 4
- Ability to run a mixed test code base using node:test HOT 2
- Azure DevOps output handler
- Typescript with VS Code debug issue
- config to control handling for tests that 'Failed to exit' - v6+ issue HOT 3
- Ava fails to run in watch mode via CLI HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ava.