Lines Matching full:tests

1 .\"	$NetBSD: tests.kyua.7,v 1.8 2023/08/27 15:17:50 rillig Exp $
32 .Nm tests
37 test suite provides a collection of automated tests for two major purposes.
54 .Pa tests.tgz ,
56 .Pa /usr/tests
61 .Ss When to run the tests?
85 .Ss Installing the tests
87 .Pa tests.tgz
90 system, the tests are already available in
91 .Pa /usr/tests .
95 # tar xzpf /path/to/tests.tgz
97 .Ss Running the tests
100 $ kyua test -k /usr/tests/Kyuafile
104 .Pa /usr/tests
109 This summary includes a brief count of all total tests run and how many of
112 It is possible to restrict which tests to run by providing their names in
114 For example, this would execute the tests for the
120 $ kyua test -k /usr/tests/Kyuafile bin/cp usr.bin/cut
122 .Ss Obtaining reports of the tests execution
126 tests and show which ones failed:
135 $ kyua report-html --output ~/public_html/tests
142 Tests can be invoked as an unprivileged user, in which case tests that
144 If run as root, an unprivileged user will be used for tests that
146 For maximal coverage, the standard approach is to invoke tests as root.
148 Ideally, tests are self-contained and do not either depend on or
149 perturb the host environment, aside from skipping tests when optional
151 In reality, tests load and unload modules, and do other things that
153 While it is not entirely safe to run tests on a multi-user system,
156 .Ss Configuring the tests
161 Unless these properties are defined, the tests that require them will be marked
175 When set to a filesystem type, restrict tests programs from the
176 .Pa /usr/tests/fs/vfs/ .
203 Default database used by Kyua to maintain the data of the executed tests.
204 .It Pa /usr/tests/
208 .It Pa /usr/tests/Kyuafile
217 .Pa /usr/tests
228 to describe the execution of the tests with Kyua rather than with ATF.