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",
|
{erl_opts, [debug_info, {src_dirs, ["test"]}]}.
|
||||||
"test/integration",
|
|
||||||
"test/system"]}]}.
|
|
||||||
{lfe_first_files, []}.
|
{lfe_first_files, []}.
|
||||||
{deps_dir, ["deps"]}.
|
{deps_dir, ["deps"]}.
|
||||||
{eunit_compile_opts, [
|
{eunit_compile_opts, [
|
||||||
{src_dirs, ["test/unit",
|
{src_dirs, ["test"]}
|
||||||
"test/integration",
|
|
||||||
"test/system",
|
|
||||||
"src"]}
|
|
||||||
]}.
|
]}.
|
||||||
{deps, [
|
{deps, [
|
||||||
{lfe, ".*", {git, "git://github.com/rvirding/lfe.git", "develop"}},
|
{lfe, ".*", {git, "git://github.com/rvirding/lfe.git", "develop"}},
|
||||||
{'lfe-utils', ".*", {git, "https://github.com/lfe/lfe-utils.git", "master"}},
|
{lutil, ".*", {git, "https://github.com/lfex/lutil.git", "master"}},
|
||||||
{lfeunit, ".*", {git, "git://github.com/lfe/lfeunit.git", "master"}}
|
{ltest, ".*", {git, "git://github.com/lfex/ltest.git", "master"}}
|
||||||
]}.
|
]}.
|
||||||
|
|
|
@ -1,13 +1,10 @@
|
||||||
(defmodule unit-calrissian-error-monad-tests
|
(defmodule unit-calrissian-error-monad-tests
|
||||||
(export all)
|
(behaviour ltest-unit)
|
||||||
(import
|
(export all))
|
||||||
(from lfeunit-util
|
|
||||||
(check-failed-assert 2)
|
|
||||||
(check-wrong-assert-exception 2))))
|
|
||||||
|
|
||||||
(include-lib "deps/lfeunit/include/lfeunit-macros.lfe")
|
(include-lib "ltest/include/ltest-macros.lfe")
|
||||||
(include-lib "include/monads.lfe")
|
(include-lib "calrissian/include/monads.lfe")
|
||||||
(include-lib "include/monad-tests.lfe")
|
(include-lib "calrissian/include/monad-tests.lfe")
|
||||||
|
|
||||||
(test-monad (monad 'error))
|
(test-monad (monad 'error))
|
||||||
|
|
|
@ -1,13 +1,10 @@
|
||||||
(defmodule unit-calrissian-identity-monad-tests
|
(defmodule unit-calrissian-identity-monad-tests
|
||||||
(export all)
|
(behaviour ltest-unit)
|
||||||
(import
|
(export all))
|
||||||
(from lfeunit-util
|
|
||||||
(check-failed-assert 2)
|
|
||||||
(check-wrong-assert-exception 2))))
|
|
||||||
|
|
||||||
(include-lib "deps/lfeunit/include/lfeunit-macros.lfe")
|
(include-lib "ltest/include/ltest-macros.lfe")
|
||||||
(include-lib "include/monads.lfe")
|
(include-lib "calrissian/include/monads.lfe")
|
||||||
(include-lib "include/monad-tests.lfe")
|
(include-lib "calrissian/include/monad-tests.lfe")
|
||||||
|
|
||||||
(test-monad (monad 'identity))
|
(test-monad (monad 'identity))
|
||||||
|
|
|
@ -1,13 +1,10 @@
|
||||||
(defmodule unit-calrissian-maybe-monad-tests
|
(defmodule unit-calrissian-maybe-monad-tests
|
||||||
(export all)
|
(behaviour ltest-unit)
|
||||||
(import
|
(export all))
|
||||||
(from lfeunit-util
|
|
||||||
(check-failed-assert 2)
|
|
||||||
(check-wrong-assert-exception 2))))
|
|
||||||
|
|
||||||
(include-lib "deps/lfeunit/include/lfeunit-macros.lfe")
|
(include-lib "ltest/include/ltest-macros.lfe")
|
||||||
(include-lib "include/monads.lfe")
|
(include-lib "calrissian/include/monads.lfe")
|
||||||
(include-lib "include/monad-tests.lfe")
|
(include-lib "calrissian/include/monad-tests.lfe")
|
||||||
|
|
||||||
(test-monad (monad 'maybe))
|
(test-monad (monad 'maybe))
|
||||||
|
|
|
@ -1,13 +1,10 @@
|
||||||
(defmodule unit-calrissian-state-transformer-tests
|
(defmodule unit-calrissian-state-transformer-tests
|
||||||
(export all)
|
(behaviour ltest-unit)
|
||||||
(import
|
(export all))
|
||||||
(from lfeunit-util
|
|
||||||
(check-failed-assert 2)
|
|
||||||
(check-wrong-assert-exception 2))))
|
|
||||||
|
|
||||||
(include-lib "deps/lfeunit/include/lfeunit-macros.lfe")
|
(include-lib "ltest/include/ltest-macros.lfe")
|
||||||
(include-lib "include/monads.lfe")
|
(include-lib "calrissian/include/monads.lfe")
|
||||||
(include-lib "include/monad-tests.lfe")
|
(include-lib "calrissian/include/monad-tests.lfe")
|
||||||
|
|
||||||
(test-monad (transformer 'state 'identity))
|
(test-monad (transformer 'state 'identity))
|
||||||
|
|
Loading…
Reference in a new issue