couchdb-dev mailing list archives

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


Alexander Shorin commented on COUCHDB-1963:

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

I found it:

  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)

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

> Move from etap to eunit
> -----------------------
>                 Key: COUCHDB-1963
>                 URL:
>             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

View raw message