1ATF(7) BSD Miscellaneous Information Manual ATF(7)
2
4 ATF — introduction to the Automated Testing Framework
5
7 The Automated Testing Framework (ATF) is a collection of libraries to im‐
8 plement test programs in a variety of languages. These libraries all of‐
9 fer similar functionality and any test program written with them exposes
10 a consistent user interface.
11
12 Test programs using the ATF libraries rely on a separate runtime engine
13 to execute them in a deterministic fashion. The runtime engine isolates
14 the test programs from the rest of the system and ensures some common
15 side-effects are cleaned up. The runtime engine is also responsible for
16 gathering the results of all tests and composing reports. The current
17 runtime of choice is Kyua, described in kyua(1).
18
19 If your operating systems distributes ATF, it should also provide an in‐
20 troductory tests(7) manual page. You are encouraged to read it now.
21
22 The rest of this manual page serves as a cross-reference to all the other
23 documentation shipped with ATF.
24
25 Language bindings
26 atf-c(3) C programming interface.
27
28 atf-c++(3) C++ programming interface.
29
30 atf-sh(3) sh(1) programming interface.
31
32 Miscellaneous pages
33 atf-test-case(4) Generic description of test cases, independent of
34 the language they are implemented in.
35
36 atf-test-program(1) Common interface provided by the test programs
37 written using the ATF libraries.
38
40 kyua(1), tests(7)
41
43 ATF started as a Google Summer of Code 2007 project mentored by The Net‐
44 BSD Foundation. Its original goal was to provide a testing framework for
45 the NetBSD operating system, but it grew as an independent project be‐
46 cause the framework itself did not need to be tied to a specific operat‐
47 ing system.
48
49 Originally, ATF shipped the collection of libraries described in this
50 manual page as well as a runtime engine. The runtime engine has since
51 been replaced by Kyua and the old tools were removed in 0.20, which
52 shipped in early 2014.
53
54 As of late 2014, both FreeBSD and NetBSD ship ATF in their base systems
55 and provide extensive test suites based on it.
56
57 For more details on historical changes, refer to:
58
59 /usr/share/doc/atf/NEWS
60
62 For more details on the people that made ATF possible, refer to:
63
64 /usr/share/doc/atf/AUTHORS
65
66BSD September 14, 2014 BSD