Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8A1639D01 for ; Wed, 25 Jan 2012 17:11:03 +0000 (UTC) Received: (qmail 60793 invoked by uid 500); 25 Jan 2012 17:11:02 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 60716 invoked by uid 500); 25 Jan 2012 17:11:02 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 60705 invoked by uid 99); 25 Jan 2012 17:11:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jan 2012 17:11:02 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jan 2012 17:11:01 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 05BD416237F for ; Wed, 25 Jan 2012 17:10:41 +0000 (UTC) Date: Wed, 25 Jan 2012 17:10:41 +0000 (UTC) From: "Paul Joseph Davis (Commented) (JIRA)" To: dev@couchdb.apache.org Message-ID: <1687057442.76887.1327511441039.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1953447252.75868.1327475502043.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (COUCHDB-1389) Improve JS CLI test error reports MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/COUCHDB-1389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13193123#comment-13193123 ] Paul Joseph Davis commented on COUCHDB-1389: -------------------------------------------- Mine changes the .toString() to a .toSource() which is important for errors to be printed as something other than "[object Object]". Yours includes the stack which is probably helpful as well. We should definitely combine the two. Also, on yours we need to make sure we follow TAP in case we ever pass this output through prove. Basically just requires prefixing the first non test report line with # and then making sure the rest are all indented. > Improve JS CLI test error reports > --------------------------------- > > Key: COUCHDB-1389 > URL: https://issues.apache.org/jira/browse/COUCHDB-1389 > Project: CouchDB > Issue Type: Improvement > Reporter: Paul Joseph Davis > Attachments: COUCHDB-1389.patch > > > About to attach a simple patch that gives better error output when JS tests fail. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira