question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Fail fast for a container test

See original GitHub issue
context("a context").config(failfast = true) {
  test("test 1") {
  }
  test("test 2") {
    // this test is skipped if test 1 fails
  }
}

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:18 (12 by maintainers)

github_iconTop GitHub Comments

2reactions
sksamuelcommented, Oct 13, 2021

Ah I see.

Freespec doesn’t support config on parent tests because the DSL doesn’t quite work. Let me see if I can support that and then add fail fast support.

0reactions
sksamuelcommented, Jan 12, 2022
Read more comments on GitHub >

github_iconTop Results From Across the Web

Fail Fast Testing - GitLab Docs
Fail fast testing gives you a faster feedback loop from the pipeline. It lets you know quickly that the new tests are passing...
Read more >
Fail-Fast: Stop running tests on the first failure
On Semaphore, a fail-fast strategy means that you get instant feedback when a job fails. All the jobs running in a pipeline can...
Read more >
The Fail-fast Principle in Software Testing - HackerNoon
The fail-fast principle makes software bugs easier to detect earlier in the development cycle. It allows for faster strengthening of the code ...
Read more >
Fail fast: stop running tests on first failure - CircleCI Discuss
CircleCI doc states that: all test commands are run to completion, but a non-zero exit code during setup will cause the build to...
Read more >
How to Fail Fast With Test Intelligence in CI - Harness
3:53 - Here, Shiv highlights the importance of testing by showing multiple examples of outages/downtime at large companies (think: FAANG large).
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found