1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
8
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
12
HREF="book1.html"><LINK
14
TITLE="Special variables used by test cases."
15
HREF="x1551.html"><LINK
17
TITLE="The dejagnu.h Header File"
18
HREF="x1590.html"></HEAD
29
SUMMARY="Header navigation table"
38
>DejaGnu: The GNU Testing Framework</TH
48
><<< Previous</A
62
>Next >>></A
83
>What Is Unit Testing ?</H1
85
>Most regression testing as done by DejaGnu is system
86
testing. This is the complete application is tested all at
87
once. Unit testing is for testing single files, or small
88
libraries. In this case, each file is linked with a test case in
89
C or C++, and each function or class and method is tested in
90
series, with the test case having to check private data or
91
global variables to see if the function or method worked.</P
93
>This works particularly well for testing APIs and at level
94
where it is easier to debug them, than by needing to trace through
95
the entire appication. Also if there is a specification for the
96
API to be tested, the testcase can also function as a compliance
105
SUMMARY="Footer navigation table"
118
><<< Previous</A
136
>Next >>></A
144
>Special variables used by test cases.</TD
154
>The dejagnu.h Header File</TD
b'\\ No newline at end of file'