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

Add command line option to run each test N times #911

Open
vporton opened this issue Apr 27, 2024 · 2 comments
Open

Add command line option to run each test N times #911

vporton opened this issue Apr 27, 2024 · 2 comments
Labels
Component: CLI Command line flags, exit code handling, ... Priority: Medium Wrong or misleading documentation, broken behavior with workaround Type: Enhancement

Comments

@vporton
Copy link

vporton commented Apr 27, 2024

Is your feature request related to a problem? Please describe.
Sometimes a test fails, but not at each run.

Describe the solution you'd like
Repeating the test like 20 times can warrant whether it works.

Describe alternatives you've considered
Run bats executable multiple times.

@vporton vporton added Priority: NeedsTriage Issue has not been vetted yet Type: Enhancement labels Apr 27, 2024
@martin-schulze-vireso
Copy link
Member

Did you try repeating the test file parameter to bats: bats test.bats test.bats ...

@martin-schulze-vireso martin-schulze-vireso added Priority: Medium Wrong or misleading documentation, broken behavior with workaround Component: CLI Command line flags, exit code handling, ... and removed Priority: NeedsTriage Issue has not been vetted yet labels Apr 27, 2024
@r4fterman
Copy link

Potentially duplicated or included in #241

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: CLI Command line flags, exit code handling, ... Priority: Medium Wrong or misleading documentation, broken behavior with workaround Type: Enhancement
Projects
None yet
Development

No branches or pull requests

3 participants