From d5d809956b66acfdfdc14e357ed870a5d0b79631 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Thu, 12 Jan 2017 13:19:43 +0100 Subject: Update user guide --- guide/ct.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'guide/ct.html') diff --git a/guide/ct.html b/guide/ct.html index c8f8f5f..59f5433 100644 --- a/guide/ct.html +++ b/guide/ct.html @@ -47,7 +47,8 @@ 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

17.3. Usage

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

17.3. Usage

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