You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Paul King (JIRA)" <ji...@apache.org> on 2017/08/28 05:16:00 UTC

[jira] [Updated] (GROOVY-7569) PowerAsserts should print results more verbosely and safer

     [ https://issues.apache.org/jira/browse/GROOVY-7569?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul King updated GROOVY-7569:
------------------------------
    Description: 
The output of buffer evaluation results in PowerAsserts hides a lot of useful information from the user.

This is similar to https://issues.apache.org/jira/browse/GROOVY-7568, but independent.

Discussed here:
http://groovy.329449.n5.nabble.com/Should-PowerAsserts-be-more-verbose-td5727255.html
https://groups.google.com/d/msg/spockframework/XbR-McgaAss/-wtkD1X1BAAJ

In particular Strings are printed without surrounding quotes, collections are printed without telling whether they are Lists, Maps, Sets, or Ranges. Ranges are printed fully as lists (which can be unnecessarily long).

An implementation is almost done at https://github.com/tkruse/incubator-groovy/tree/pretty

The downside or more information is that this output could be regarded as "too noisy".

  was:
The output of buffer evaluation results in PowerAsserts hides a lot of useful information from the user.

This is similar to https://issues.apache.org/jira/browse/GROOVY-7568, but independent.

Discussed here:
http://groovy.329449.n5.nabble.com/Should-PowerAsserts-be-more-verbose-td5727255.html
https://groups.google.com/d/msg/spockframework/XbR-McgaAss/-wtkD1X1BAAJ

In particular Strings are printed without surrounding hyphens, collections are printed without telling whether they are Lists, Maps, Sets, or Ranges. Ranges are printed fully as lists (which can be unnecessarily long).

An implementation is almost done at https://github.com/tkruse/incubator-groovy/tree/pretty

The downside or more information is that this output could be regarded as "too noisy".


> PowerAsserts should print results more verbosely and safer
> ----------------------------------------------------------
>
>                 Key: GROOVY-7569
>                 URL: https://issues.apache.org/jira/browse/GROOVY-7569
>             Project: Groovy
>          Issue Type: Improvement
>            Reporter: Thibault Kruse
>
> The output of buffer evaluation results in PowerAsserts hides a lot of useful information from the user.
> This is similar to https://issues.apache.org/jira/browse/GROOVY-7568, but independent.
> Discussed here:
> http://groovy.329449.n5.nabble.com/Should-PowerAsserts-be-more-verbose-td5727255.html
> https://groups.google.com/d/msg/spockframework/XbR-McgaAss/-wtkD1X1BAAJ
> In particular Strings are printed without surrounding quotes, collections are printed without telling whether they are Lists, Maps, Sets, or Ranges. Ranges are printed fully as lists (which can be unnecessarily long).
> An implementation is almost done at https://github.com/tkruse/incubator-groovy/tree/pretty
> The downside or more information is that this output could be regarded as "too noisy".



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)