From 0ebdf9c62523e516c081ec6eaf6124d5cba76150 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?=
The CT_OPTS
variable allows you to set extra Common Test
+This defaults to test/.
The CT_OPTS
variable allows you to set extra Common Test
options. Options are documented in the
Common Test user guide.
You can use it to set Common Test hooks, for example:
CT_OPTS = -ct_hooks cowboy_ct_hook
The CT_SUITES
variable can be used to override what
@@ -47,7 +47,7 @@ Common Test suites Erlang.mk will be aware of. It does
not normally need to be set as Erlang.mk will find the
test suites automatically.
The name of the suite is the part before _SUITE.erl
.
If the file is named http_SUITE.erl, the test suite
-is http
:
CT_SUITES = http ws
To run all tests (including Common Test):
$ make tests
To run all tests and static checks (including Common Test):
$ make check
You can also run Common Test separately:
$ make ct
Erlang.mk will create targets for all test suites it finds.
+is http
:
CT_SUITES = http ws
To run all tests (including Common Test):
$ make tests
To run all tests and static checks (including Common Test):
$ make check
You can also run Common Test separately:
$ make ct
Erlang.mk will create targets for all test suites it finds.
If you have a file named test/http_SUITE.erl, then the
target ct-http
will run that specific test suite:
$ make ct-http
Erlang.mk provides a convenient way to run a specific group or a specific test case within a specific group, -- cgit v1.2.3