You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/07/29 06:11:21 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=15398775#comment-15398775 ] 

ASF GitHub Bot commented on GROOVY-7569:
----------------------------------------

GitHub user tkruse opened a pull request:

    https://github.com/apache/groovy/pull/374

    GROOVY-7569: Use verbose formatting for PowerAsserts

    See JIRA for more explanation.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/tkruse/incubator-groovy groovy-7569

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/groovy/pull/374.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #374
    
----
commit d87b5d6ad263a897b4996287cfd20144ceb51b4b
Author: Thibault Kruse <th...@gmx.de>
Date:   2015-08-28T11:45:23Z

    GROOVY-7569: Use verbose formatting for PowerAsserts

----


> 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 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".



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)