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

An exception in a property test doesn't show the failing values #1037

Closed
sksamuel opened this issue Oct 4, 2019 · 0 comments · Fixed by #1135
Closed

An exception in a property test doesn't show the failing values #1037

sksamuel opened this issue Oct 4, 2019 · 0 comments · Fixed by #1135
Assignees
Labels
assertions 🔍 Related to the assertion mechanisms within the testing framework. bug 🐛 Issues that report a problem or error in the code. property-testing 📏 Related to the property testing mechanisms within the testing framework.
Milestone

Comments

@sksamuel
Copy link
Member

sksamuel commented Oct 4, 2019

Try this,

      assertAll(Gen.double(), Gen.double(), Gen.double()) { a, b, c ->
         throw RuntimeException("foo")
      }

And you'll see it doesn't report the failing values.

@sksamuel sksamuel added assertions 🔍 Related to the assertion mechanisms within the testing framework. bug 🐛 Issues that report a problem or error in the code. property-testing 📏 Related to the property testing mechanisms within the testing framework. labels Oct 4, 2019
@sksamuel sksamuel mentioned this issue Nov 25, 2019
88 tasks
@sksamuel sksamuel added this to the 4.0 milestone Nov 25, 2019
@sksamuel sksamuel self-assigned this Dec 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assertions 🔍 Related to the assertion mechanisms within the testing framework. bug 🐛 Issues that report a problem or error in the code. property-testing 📏 Related to the property testing mechanisms within the testing framework.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant