spock
spock copied to clipboard
getMessage() of ConditionNotSatisfiedError/SpockComparisonFailure should not include power assert output
Originally reported on Google Code with ID 123
In JUnit reports, getMessage() of the thrown exception is shown in a heading, and toString()
in an unformatted block. Therefore, the message should only contain "Condition not
satisfied: <source text>", but not the actual values.
Reported by pniederw on 2010-08-31 11:42:31
Not sure if we should make tactical changes to getMessage() "just" to please Ant reports.
One the other hand, they pop up in many places (Ant, Gradle, Maven, CI servers).
Reported by pniederw on 2010-12-09 00:25:22
- Labels added: Milestone-0.6
- Labels removed: Milestone-0.5
Reported by pniederw on 2012-02-20 00:15:42
- Labels added: Milestone-Backlog
- Labels removed: Milestone-0.6