Return-Path: X-Original-To: apmail-groovy-users-archive@minotaur.apache.org Delivered-To: apmail-groovy-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0E7BC18D20 for ; Thu, 8 Oct 2015 23:13:40 +0000 (UTC) Received: (qmail 45903 invoked by uid 500); 8 Oct 2015 23:13:39 -0000 Delivered-To: apmail-groovy-users-archive@groovy.apache.org Received: (qmail 45869 invoked by uid 500); 8 Oct 2015 23:13:39 -0000 Mailing-List: contact users-help@groovy.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@groovy.incubator.apache.org Delivered-To: mailing list users@groovy.incubator.apache.org Received: (qmail 45859 invoked by uid 99); 8 Oct 2015 23:13:39 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Oct 2015 23:13:39 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 569CBC00B1 for ; Thu, 8 Oct 2015 23:13:39 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.979 X-Spam-Level: ** X-Spam-Status: No, score=2.979 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id QM6T4vet4EOU for ; Thu, 8 Oct 2015 23:13:38 +0000 (UTC) Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 8A40C204D9 for ; Thu, 8 Oct 2015 23:13:37 +0000 (UTC) Received: by padhy16 with SMTP id hy16so67263855pad.1 for ; Thu, 08 Oct 2015 16:13:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:content-type:message-id:mime-version :subject:date:references:to:in-reply-to; bh=vs5DTJxS0j9Gi0cGtX5uc/ymcC0yArZGjTwBtf9qv3g=; b=cy5vY3+3dALydz0LfzXzrk9k/8/kBmWUBRjC5/Dyp3o8XR6Jr9wjpVBwltCVnEC/pg 9VvW+eOWQ2PbpNmrLOUrJAaBsU54lHd2Pk1awvW5oLlNr7BXvraFpzWhH4dOOUDW+2jq 7bW74AUenb2l9kpZRsKZ6nPuYFT0HNgYKiXWD8evJ9daAsY6K9lRgJsp3Fi/NGjcrOHL M5nb1EOGtliIlrzA+V0j3mgD1BhBtbtjjKWarhEwvUkqPBjwcQGQLvpCDQciAmVvbH3p bYAdZ99UiAOmRDtQcUNCOzNPnxCs3yfQ8s002TUFWMmaJ0hM7n19MYPMLl8CiT5GaByX 65SA== X-Gm-Message-State: ALoCoQm/+tHl0Zq0vDJN7Ma8arY9SBEpIiw5UTDmrnktywFP1Dqicbc30SYx3TvOSsul2jwhDqwz X-Received: by 10.68.211.131 with SMTP id nc3mr11077767pbc.159.1444346010001; Thu, 08 Oct 2015 16:13:30 -0700 (PDT) Received: from [192.168.6.101] (static-50-47-60-130.sttl.wa.frontiernet.net. [50.47.60.130]) by smtp.gmail.com with ESMTPSA id sm9sm8768319pbc.56.2015.10.08.16.13.29 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 08 Oct 2015 16:13:29 -0700 (PDT) From: Jeff Lowery Content-Type: multipart/alternative; boundary="Apple-Mail=_D4D33971-EDF8-4CB7-A5CF-826A5B078008" Message-Id: <4A5AECB4-8535-4F89-912D-D8B13C931B30@mavericklabel.com> Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: Code sample from packt Groovy book: help debug File and output problems? Date: Thu, 8 Oct 2015 16:13:28 -0700 References: To: users@groovy.incubator.apache.org In-Reply-To: X-Mailer: Apple Mail (2.2104) --Apple-Mail=_D4D33971-EDF8-4CB7-A5CF-826A5B078008 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > Also, likely a Spock or Gradle question, but I can't figure out how to = get stdout from the test run to go to the console, or anywhere I can = find, for that matter. I found various references that describe how to = configure this, but none of them worked. I asked about this on the = Gradle forum. > This is what I have in my task: testLogging { stackTraceFilters "groovy" showStandardStreams false //makes the = standard streams (err and out) visible at console when running tests } Hope it helps. =E2=80=94 Jeff --Apple-Mail=_D4D33971-EDF8-4CB7-A5CF-826A5B078008 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
Also, = likely a Spock or Gradle question, but I can't figure out how to get = stdout from the test run to go to the console, or anywhere I can find, = for that matter.  I found various references that describe how to = configure this, but none of them worked.  I asked about this on the = Gradle forum.
= <winmail.dat>


This is what I have in = my task:

= testLogging {
stackTraceFilters = "groovy"
= showStandardStreams false  =   //makes the standard streams (err and out) visible at = console when running tests
}

Hope it helps.

=E2=80=94 Jeff

= --Apple-Mail=_D4D33971-EDF8-4CB7-A5CF-826A5B078008--