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

Create option to silence duplicate outputs when using multiple asserts on a test #29

Open
bfrymire opened this issue Mar 3, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@bfrymire
Copy link
Owner

bfrymire commented Mar 3, 2022

While it's generally best to have a single assertion testing a single function, there are times where it's advantageous having multiple assertions on a test. When multiple assertions are on a test, each assertion creates a log which is then output at the end of all the tests. This can create duplicate outputs for the same test and may be confusing for the user.

Create an option for the user to silence duplicate outputs for a single test in the event there is no error.

@bfrymire bfrymire added the enhancement New feature or request label Mar 3, 2022
@bfrymire bfrymire changed the title Multiple asserts on a test creates multiple outputs Create option to silence duplicate outputs when using multiple asserts on a test Mar 3, 2022
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

1 participant