You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by ii...@apache.org on 2016/03/22 12:13:08 UTC

[3/4] couchdb-erlang-tests git commit: Implement couch_tests:setup/1

Implement couch_tests:setup/1


Project: http://git-wip-us.apache.org/repos/asf/couchdb-erlang-tests/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-erlang-tests/commit/e561ac64
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-erlang-tests/tree/e561ac64
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-erlang-tests/diff/e561ac64

Branch: refs/heads/master
Commit: e561ac64cca9e9a679d9b57122ab10b36e341c1f
Parents: 5630c9c
Author: ILYA Khlopotov <ii...@ca.ibm.com>
Authored: Thu Mar 17 10:59:29 2016 -0700
Committer: ILYA Khlopotov <ii...@ca.ibm.com>
Committed: Thu Mar 17 10:59:29 2016 -0700

----------------------------------------------------------------------
 src/couch_tests.erl | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-erlang-tests/blob/e561ac64/src/couch_tests.erl
----------------------------------------------------------------------
diff --git a/src/couch_tests.erl b/src/couch_tests.erl
index 3d53d31..5dff3c5 100644
--- a/src/couch_tests.erl
+++ b/src/couch_tests.erl
@@ -14,6 +14,7 @@
 
 -export([
     new/4,
+    setup/1,
     setup/3,
     teardown/1
 ]).
@@ -53,6 +54,9 @@ new(Module, FixtureId, Setup, Teardown) ->
         teardown = Teardown
     }.
 
+setup(Chain) ->
+    setup(Chain, [], []).
+
 setup(Chain, Args, Opts) ->
     Ctx = #couch_tests_ctx{chain = Chain, args = Args, opts = Opts},
     do_setup(Chain, Ctx, []).