commit c61f9d8664ab493ecd41d12f69d21ed70bb0e696 parent 10c078f845b8e304c09437a32f55cdef630a4d11 Author: Kyle Milz <kyle@0x30.net> Date: Sat, 27 Feb 2016 16:21:18 -0700 server: rework readme test section Diffstat:
M | server/README | | | 11 | ++++++----- |
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/server/README b/server/README @@ -27,12 +27,13 @@ OpenBSD: Running Tests ============== -The 'prove' command that comes with TAP works good. By default it looks for -tests in 't/*.t' which is where our tests are: +Use the 'prove' command that comes with TAP. +By default it looks for tests in 't/*.t' which is where the tests are: $ prove -For test coverage, pass '-c' to each test: -$ prove :: -c +To run an individual test pass the test file name to prove: +$ prove t/device_add.t -Also run 'cover' after test coverage runs to generate summaries: +For test coverage summary reports pass '-c' to each test and then run 'cover': +$ prove :: -c $ cover