mirror of
https://github.com/correl/calrissian.git
synced 2024-11-23 11:09:58 +00:00
Updated deps and unit tests to latest.
This commit is contained in:
parent
81abdb806f
commit
0ffaf48730
5 changed files with 24 additions and 41 deletions
13
rebar.config
13
rebar.config
|
@ -1,16 +1,11 @@
|
|||
{erl_opts, [debug_info, {src_dirs, ["test/unit",
|
||||
"test/integration",
|
||||
"test/system"]}]}.
|
||||
{erl_opts, [debug_info, {src_dirs, ["test"]}]}.
|
||||
{lfe_first_files, []}.
|
||||
{deps_dir, ["deps"]}.
|
||||
{eunit_compile_opts, [
|
||||
{src_dirs, ["test/unit",
|
||||
"test/integration",
|
||||
"test/system",
|
||||
"src"]}
|
||||
{src_dirs, ["test"]}
|
||||
]}.
|
||||
{deps, [
|
||||
{lfe, ".*", {git, "git://github.com/rvirding/lfe.git", "develop"}},
|
||||
{'lfe-utils', ".*", {git, "https://github.com/lfe/lfe-utils.git", "master"}},
|
||||
{lfeunit, ".*", {git, "git://github.com/lfe/lfeunit.git", "master"}}
|
||||
{lutil, ".*", {git, "https://github.com/lfex/lutil.git", "master"}},
|
||||
{ltest, ".*", {git, "git://github.com/lfex/ltest.git", "master"}}
|
||||
]}.
|
||||
|
|
|
@ -1,13 +1,10 @@
|
|||
(defmodule unit-calrissian-error-monad-tests
|
||||
(export all)
|
||||
(import
|
||||
(from lfeunit-util
|
||||
(check-failed-assert 2)
|
||||
(check-wrong-assert-exception 2))))
|
||||
(behaviour ltest-unit)
|
||||
(export all))
|
||||
|
||||
(include-lib "deps/lfeunit/include/lfeunit-macros.lfe")
|
||||
(include-lib "include/monads.lfe")
|
||||
(include-lib "include/monad-tests.lfe")
|
||||
(include-lib "ltest/include/ltest-macros.lfe")
|
||||
(include-lib "calrissian/include/monads.lfe")
|
||||
(include-lib "calrissian/include/monad-tests.lfe")
|
||||
|
||||
(test-monad (monad 'error))
|
||||
|
|
@ -1,13 +1,10 @@
|
|||
(defmodule unit-calrissian-identity-monad-tests
|
||||
(export all)
|
||||
(import
|
||||
(from lfeunit-util
|
||||
(check-failed-assert 2)
|
||||
(check-wrong-assert-exception 2))))
|
||||
(behaviour ltest-unit)
|
||||
(export all))
|
||||
|
||||
(include-lib "deps/lfeunit/include/lfeunit-macros.lfe")
|
||||
(include-lib "include/monads.lfe")
|
||||
(include-lib "include/monad-tests.lfe")
|
||||
(include-lib "ltest/include/ltest-macros.lfe")
|
||||
(include-lib "calrissian/include/monads.lfe")
|
||||
(include-lib "calrissian/include/monad-tests.lfe")
|
||||
|
||||
(test-monad (monad 'identity))
|
||||
|
|
@ -1,13 +1,10 @@
|
|||
(defmodule unit-calrissian-maybe-monad-tests
|
||||
(export all)
|
||||
(import
|
||||
(from lfeunit-util
|
||||
(check-failed-assert 2)
|
||||
(check-wrong-assert-exception 2))))
|
||||
(behaviour ltest-unit)
|
||||
(export all))
|
||||
|
||||
(include-lib "deps/lfeunit/include/lfeunit-macros.lfe")
|
||||
(include-lib "include/monads.lfe")
|
||||
(include-lib "include/monad-tests.lfe")
|
||||
(include-lib "ltest/include/ltest-macros.lfe")
|
||||
(include-lib "calrissian/include/monads.lfe")
|
||||
(include-lib "calrissian/include/monad-tests.lfe")
|
||||
|
||||
(test-monad (monad 'maybe))
|
||||
|
|
@ -1,13 +1,10 @@
|
|||
(defmodule unit-calrissian-state-transformer-tests
|
||||
(export all)
|
||||
(import
|
||||
(from lfeunit-util
|
||||
(check-failed-assert 2)
|
||||
(check-wrong-assert-exception 2))))
|
||||
(behaviour ltest-unit)
|
||||
(export all))
|
||||
|
||||
(include-lib "deps/lfeunit/include/lfeunit-macros.lfe")
|
||||
(include-lib "include/monads.lfe")
|
||||
(include-lib "include/monad-tests.lfe")
|
||||
(include-lib "ltest/include/ltest-macros.lfe")
|
||||
(include-lib "calrissian/include/monads.lfe")
|
||||
(include-lib "calrissian/include/monad-tests.lfe")
|
||||
|
||||
(test-monad (transformer 'state 'identity))
|
||||
|
Loading…
Reference in a new issue