From d5d809956b66acfdfdc14e357ed870a5d0b79631 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?=
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
The CT_LOGS_DIR
variable can be used to set where HTML
+log files are to be written. This defaults to logs/.
CT_LOGS_DIR = ct_output_log_dir
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