1*0677dfd1SJulio Merino.\" Copyright (c) 2007 The NetBSD Foundation, Inc. 2*0677dfd1SJulio Merino.\" All rights reserved. 3*0677dfd1SJulio Merino.\" 4*0677dfd1SJulio Merino.\" Redistribution and use in source and binary forms, with or without 5*0677dfd1SJulio Merino.\" modification, are permitted provided that the following conditions 6*0677dfd1SJulio Merino.\" are met: 7*0677dfd1SJulio Merino.\" 1. Redistributions of source code must retain the above copyright 8*0677dfd1SJulio Merino.\" notice, this list of conditions and the following disclaimer. 9*0677dfd1SJulio Merino.\" 2. Redistributions in binary form must reproduce the above copyright 10*0677dfd1SJulio Merino.\" notice, this list of conditions and the following disclaimer in the 11*0677dfd1SJulio Merino.\" documentation and/or other materials provided with the distribution. 12*0677dfd1SJulio Merino.\" 13*0677dfd1SJulio Merino.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND 14*0677dfd1SJulio Merino.\" CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, 15*0677dfd1SJulio Merino.\" INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 16*0677dfd1SJulio Merino.\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 17*0677dfd1SJulio Merino.\" IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS BE LIABLE FOR ANY 18*0677dfd1SJulio Merino.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19*0677dfd1SJulio Merino.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE 20*0677dfd1SJulio Merino.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 21*0677dfd1SJulio Merino.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER 22*0677dfd1SJulio Merino.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 23*0677dfd1SJulio Merino.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN 24*0677dfd1SJulio Merino.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25*0677dfd1SJulio Merino.Dd September 14, 2014 26*0677dfd1SJulio Merino.Dt ATF 7 27*0677dfd1SJulio Merino.Os 28*0677dfd1SJulio Merino.Sh NAME 29*0677dfd1SJulio Merino.Nm ATF 30*0677dfd1SJulio Merino.Nd introduction to the Automated Testing Framework 31*0677dfd1SJulio Merino.Sh DESCRIPTION 32*0677dfd1SJulio MerinoThe Automated Testing Framework 33*0677dfd1SJulio Merino.Pf ( Nm ) 34*0677dfd1SJulio Merinois a 35*0677dfd1SJulio Merino.Em collection of libraries 36*0677dfd1SJulio Merinoto implement test programs in a variety of languages. 37*0677dfd1SJulio MerinoThese libraries all offer similar functionality and any test program 38*0677dfd1SJulio Merinowritten with them exposes a consistent user interface. 39*0677dfd1SJulio Merino.Pp 40*0677dfd1SJulio MerinoTest programs using the 41*0677dfd1SJulio Merino.Nm 42*0677dfd1SJulio Merinolibraries rely on a separate runtime engine to execute them in a 43*0677dfd1SJulio Merinodeterministic fashion. 44*0677dfd1SJulio MerinoThe runtime engine isolates the test programs from the rest of the system 45*0677dfd1SJulio Merinoand ensures some common side-effects are cleaned up. 46*0677dfd1SJulio MerinoThe runtime engine is also responsible for gathering the results of all 47*0677dfd1SJulio Merinotests and composing reports. 48*0677dfd1SJulio MerinoThe current runtime of choice is Kyua, described in 49*0677dfd1SJulio Merino.Xr kyua 1 . 50*0677dfd1SJulio Merino.Pp 51*0677dfd1SJulio MerinoIf your operating systems distributes 52*0677dfd1SJulio Merino.Nm , 53*0677dfd1SJulio Merinoit should also provide an introductory 54*0677dfd1SJulio Merino.Xr tests 7 55*0677dfd1SJulio Merinomanual page. 56*0677dfd1SJulio MerinoYou are encouraged to read it now. 57*0677dfd1SJulio Merino.Pp 58*0677dfd1SJulio MerinoThe rest of this manual page serves as a cross-reference to all the other 59*0677dfd1SJulio Merinodocumentation shipped with 60*0677dfd1SJulio Merino.Nm . 61*0677dfd1SJulio Merino.Ss Language bindings 62*0677dfd1SJulio Merino.Bl -tag -width atfXtestXprogramXXXXX 63*0677dfd1SJulio Merino.It Xr atf-c 3 64*0677dfd1SJulio MerinoC programming interface. 65*0677dfd1SJulio Merino.It Xr atf-c++ 3 66*0677dfd1SJulio MerinoC++ programming interface. 67*0677dfd1SJulio Merino.It Xr atf-sh 3 68*0677dfd1SJulio Merino.Xr sh 1 69*0677dfd1SJulio Merinoprogramming interface. 70*0677dfd1SJulio Merino.El 71*0677dfd1SJulio Merino.Ss Miscellaneous pages 72*0677dfd1SJulio Merino.Bl -tag -width atfXtestXprogramXXXXX 73*0677dfd1SJulio Merino.It Xr atf-test-case 4 74*0677dfd1SJulio MerinoGeneric description of test cases, independent of the language they are 75*0677dfd1SJulio Merinoimplemented in. 76*0677dfd1SJulio Merino.It Xr atf-test-program 1 77*0677dfd1SJulio MerinoCommon interface provided by the test programs written using the 78*0677dfd1SJulio Merino.Nm 79*0677dfd1SJulio Merinolibraries. 80*0677dfd1SJulio Merino.El 81*0677dfd1SJulio Merino.Sh SEE ALSO 82*0677dfd1SJulio Merino.Xr kyua 1 , 83*0677dfd1SJulio Merino.Xr tests 7 84*0677dfd1SJulio Merino.Sh HISTORY 85*0677dfd1SJulio Merino.Nm 86*0677dfd1SJulio Merinostarted as a Google Summer of Code 2007 project mentored by The NetBSD 87*0677dfd1SJulio MerinoFoundation. 88*0677dfd1SJulio MerinoIts original goal was to provide a testing framework for the 89*0677dfd1SJulio Merino.Nx 90*0677dfd1SJulio Merinooperating system, but it grew as an independent project because the 91*0677dfd1SJulio Merinoframework itself did not need to be tied to a specific operating system. 92*0677dfd1SJulio Merino.Pp 93*0677dfd1SJulio MerinoOriginally, 94*0677dfd1SJulio Merino.Nm 95*0677dfd1SJulio Merinoshipped the collection of libraries described in this manual page as well 96*0677dfd1SJulio Merinoas a runtime engine. 97*0677dfd1SJulio MerinoThe runtime engine has since been replaced by Kyua and the old tools were 98*0677dfd1SJulio Merinoremoved in 99*0677dfd1SJulio Merino.Nm 0.20 , 100*0677dfd1SJulio Merinowhich shipped in early 2014. 101*0677dfd1SJulio Merino.Pp 102*0677dfd1SJulio MerinoAs of late 2014, both 103*0677dfd1SJulio Merino.Fx 104*0677dfd1SJulio Merinoand 105*0677dfd1SJulio Merino.Nx 106*0677dfd1SJulio Merinoship 107*0677dfd1SJulio Merino.Nm 108*0677dfd1SJulio Merinoin their base systems and provide extensive test suites based on it. 109*0677dfd1SJulio Merino.Pp 110*0677dfd1SJulio MerinoFor more details on historical changes, refer to: 111*0677dfd1SJulio Merino.Bd -literal -offset indent 112*0677dfd1SJulio Merino.Pa __DOCDIR__/NEWS 113*0677dfd1SJulio Merino.Ed 114*0677dfd1SJulio Merino.Sh AUTHORS 115*0677dfd1SJulio MerinoFor more details on the people that made 116*0677dfd1SJulio Merino.Nm 117*0677dfd1SJulio Merinopossible, refer to: 118*0677dfd1SJulio Merino.Bd -literal -offset indent 119*0677dfd1SJulio Merino.Pa __DOCDIR__/AUTHORS 120*0677dfd1SJulio Merino.Ed 121