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

Setting to skip test if assert fails #3434

Open
1 task done
koliyo opened this issue Nov 6, 2024 · 1 comment
Open
1 task done

Setting to skip test if assert fails #3434

koliyo opened this issue Nov 6, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@koliyo
Copy link

koliyo commented Nov 6, 2024

I have checked the following:

  • I've searched existing issues and found nothing related to my issue.

Describe the feature you want to add

We use assert statements in combination with test script. But we really do not want to run the additional test script block if assertions fail. Eg getting the wrong status code we do not want to further inspect the result body.

It would be helpful if there was a setting to skip test scripts if assert block fails.

Mockups or Images of the feature

Some flag in bruno.json, eg abortTestOnAssertFail

@koliyo koliyo added the enhancement New feature or request label Nov 6, 2024
@thiagomini
Copy link

That's certainly useful!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants