couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Shorin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (COUCHDB-1963) Move from etap to eunit
Date Sun, 22 Jun 2014 20:11:25 GMT

    [ https://issues.apache.org/jira/browse/COUCHDB-1963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14040230#comment-14040230
] 

Alexander Shorin commented on COUCHDB-1963:
-------------------------------------------

> Result: Failed: 1. Skipped: 0. Passed: 692

I found it:

{code}
  couchdb_views_tests: should_upgrade_legacy_view_files_test...*failed*
in function couchdb_views_tests:should_upgrade_legacy_view_files_test/0 (/home/kxepal/projects/couchdb/master/apache-couchdb-1.6.0+build.fauxton-304-g0d4d0d5/_build/../test/couchdb/couchdb_views_tests.erl,
line 166)
**error:{badmatch,{error,enoent}}
{code}

The issue raises because {{filelib:ensure_dir}} requires slash trailed path to create a directory
(undocumented feature), so {{ok}} returns even if directory isn't created and copy view index
fails. 

> Move from etap to eunit
> -----------------------
>
>                 Key: COUCHDB-1963
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1963
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: Test Suite
>            Reporter: Joan Touzet
>            Assignee: Alexander Shorin
>              Labels: etap, eunit, test
>
> Pursuant to an IRC/Twitter discussion, it seems that there is some
> support ([~pjdavis1970], [~janl]) to move off of etap. Motivations include etap being
unmaintained for 2+ years, eunit shipping with Erlang, and least importantly etap tests being
completely broken on the Windows build.
> There are only 63 .t files in the entire source tree; hopefully this is work that can
be weekend-tackled by one person, or could be tag-teamed with little friction.
> There was a subsequent discussion about the current, existing JS tests; while there are
issues with these and room for improvement, this bug is *strictly* about our white-box etap
unit tests and larger multi-instance tests that may not best be accomplished by a JS framework.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message