From d2a3f2cedd7c00d0933222aed9c06b3149aa4db4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Wed, 4 Apr 2018 13:13:37 +0200 Subject: Cowboy 2.3.0 --- docs/en/erlang.mk/1/guide/eunit/index.html | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'docs/en/erlang.mk/1/guide/eunit') diff --git a/docs/en/erlang.mk/1/guide/eunit/index.html b/docs/en/erlang.mk/1/guide/eunit/index.html index 97c4ee49..ab93373a 100644 --- a/docs/en/erlang.mk/1/guide/eunit/index.html +++ b/docs/en/erlang.mk/1/guide/eunit/index.html @@ -7,7 +7,7 @@ - + Nine Nines: EUnit @@ -86,7 +86,7 @@ the code you ship to production. With Erlang.mk, you can do this thanks to the TEST macro. It is only defined when running tests:

-
@@ -100,7 +100,7 @@ as it also defines the TEST macro. Make sure to only include it inside an ifdef block, otherwise tests will always be compiled.

-
@@ -123,7 +123,7 @@ EUnit options. Options are documented in the EUnit manual. At the time of writing, the only available option is verbose:

-
@@ -132,7 +132,7 @@ http://www.gnu.org/software/src-highlite --> to be passed to erl when running EUnit tests. For example, you can load the vm.args and sys.config files:

-
@@ -144,21 +144,21 @@ http://www.gnu.org/software/src-highlite -->

To run all tests (including EUnit):

-
$ make tests

To run all tests and static checks (including EUnit):

-
$ make check

You can also run EUnit separately:

-
@@ -166,7 +166,7 @@ http://www.gnu.org/software/src-highlite -->

EUnit will be quiet by default, only outputting errors. You can easily make it verbose for a single invocation:

-
@@ -178,14 +178,14 @@ the variable t.

module (instead of all tests from the entire project), one could write:

-
$ make eunit t=cow_http_hd

Similarly, to run a specific test case:

-
@@ -193,7 +193,7 @@ http://www.gnu.org/software/src-highlite -->

To do the same against a multi-application repository, you can use the -C option:

-
@@ -201,7 +201,7 @@ http://www.gnu.org/software/src-highlite -->

Note that this also applies to dependencies. From Cowboy, you can run the following directly:

-
-- cgit v1.2.3