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

Feature request: omit printing the assertions #385

Open
Sorokin-Anton opened this issue Apr 4, 2023 · 0 comments
Open

Feature request: omit printing the assertions #385

Sorokin-Anton opened this issue Apr 4, 2023 · 0 comments

Comments

@Sorokin-Anton
Copy link

If I do multiple Alcotest.check and one of them fails (or Alcotest.fail happened), I see [ASSERT] messages related to other checks. There are several reasons why I don't like this behavior and want a way to disable show_assert:

  • I suppose message string to appear in case of assertion fail, so I write something like "type does not match expected for ..." and seeing this messages when other thing is wrong may be confusing
  • I can do many checks in one tests, and I don't want to have hundreds of assertions in CI log, I want just the failure message
  • Even with one check, I see the same message twice - with [ASSERT] and [FAIL], that does not look cool
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant