From 7addbf132ec0fc4bb579b2682e06863f96713610 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Sat, 9 Jan 2016 16:18:28 +0100 Subject: Update user guide --- guide/eunit.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'guide/eunit.html') diff --git a/guide/eunit.html b/guide/eunit.html index 2162fee..2bbeecd 100644 --- a/guide/eunit.html +++ b/guide/eunit.html @@ -70,8 +70,8 @@ the variable t.

For example, to run all tests 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:

$ make eunit t=cow_http_hd:parse_accept_test_

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

$ make -C apps/my_app eunit t=my_module:hello_test

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

$ make -C deps/cowlib eunit t=cow_http_hd

Finally, code coverage -Chapter 18, Code coverage is available, +you can run the following directly:

$ make -C deps/cowlib eunit t=cow_http_hd

Finally, code coverage +Chapter 17, Code coverage is available, but covered in its own chapter.

-- cgit v1.2.3