spock icon indicating copy to clipboard operation
spock copied to clipboard

getMessage() of ConditionNotSatisfiedError/SpockComparisonFailure should not include power assert output

Open robfletcher opened this issue 10 years ago • 2 comments

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

robfletcher avatar Aug 30 '15 04:08 robfletcher

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

robfletcher avatar Aug 30 '15 04:08 robfletcher

Reported by pniederw on 2012-02-20 00:15:42

  • Labels added: Milestone-Backlog
  • Labels removed: Milestone-0.6

robfletcher avatar Aug 30 '15 04:08 robfletcher