1 .\" Copyright (c) 2007 The NetBSD Foundation, Inc.
2 .\" All rights reserved.
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\" notice, this list of conditions and the following disclaimer.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\" notice, this list of conditions and the following disclaimer in the
11 .\" documentation and/or other materials provided with the distribution.
13 .\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND
14 .\" CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
15 .\" INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
16 .\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
17 .\" IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS BE LIABLE FOR ANY
18 .\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
20 .\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
21 .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
22 .\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
23 .\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
24 .\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 .Dd September 14, 2014
30 .Nd introduction to the Automated Testing Framework
32 The Automated Testing Framework
35 .Em collection of libraries
36 to implement test programs in a variety of languages.
37 These libraries all offer similar functionality and any test program
38 written with them exposes a consistent user interface.
40 Test programs using the
42 libraries rely on a separate runtime engine to execute them in a
43 deterministic fashion.
44 The runtime engine isolates the test programs from the rest of the system
45 and ensures some common side-effects are cleaned up.
46 The runtime engine is also responsible for gathering the results of all
47 tests and composing reports.
48 The current runtime of choice is Kyua, described in
51 If your operating systems distributes
53 it should also provide an introductory
56 You are encouraged to read it now.
58 The rest of this manual page serves as a cross-reference to all the other
59 documentation shipped with
62 .Bl -tag -width atfXtestXprogramXXXXX
64 C programming interface.
66 C++ programming interface.
69 programming interface.
71 .Ss Miscellaneous pages
72 .Bl -tag -width atfXtestXprogramXXXXX
73 .It Xr atf-test-case 4
74 Generic description of test cases, independent of the language they are
76 .It Xr atf-test-program 1
77 Common interface provided by the test programs written using the
86 started as a Google Summer of Code 2007 project mentored by The NetBSD
88 Its original goal was to provide a testing framework for the
90 operating system, but it grew as an independent project because the
91 framework itself did not need to be tied to a specific operating system.
95 shipped the collection of libraries described in this manual page as well
97 The runtime engine has since been replaced by Kyua and the old tools were
100 which shipped in early 2014.
102 As of late 2014, both
108 in their base systems and provide extensive test suites based on it.
110 For more details on historical changes, refer to:
111 .Bd -literal -offset indent
115 For more details on the people that made
118 .Bd -literal -offset indent
119 .Pa __DOCDIR__/AUTHORS