couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Joseph Davis (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (COUCHDB-1389) Improve JS CLI test error reports
Date Wed, 25 Jan 2012 17:10:41 GMT

    [ 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

        

Mime
View raw message