~ubuntu-branches/ubuntu/warty/dejagnu/warty

« back to all changes in this revision

Viewing changes to doc/html/c1584.html

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Jacobowitz
  • Date: 2004-02-09 15:07:58 UTC
  • Revision ID: james.westby@ubuntu.com-20040209150758-oaj7r5zrop60v8sb
Tags: upstream-1.4.4
ImportĀ upstreamĀ versionĀ 1.4.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
 
2
<HTML
 
3
><HEAD
 
4
><TITLE
 
5
>Unit Testing</TITLE
 
6
><META
 
7
NAME="GENERATOR"
 
8
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
 
9
"><LINK
 
10
REL="HOME"
 
11
TITLE="DejaGnu"
 
12
HREF="book1.html"><LINK
 
13
REL="PREVIOUS"
 
14
TITLE="Special variables used by test cases."
 
15
HREF="x1551.html"><LINK
 
16
REL="NEXT"
 
17
TITLE="The dejagnu.h Header File"
 
18
HREF="x1590.html"></HEAD
 
19
><BODY
 
20
CLASS="CHAPTER"
 
21
BGCOLOR="#FFFFFF"
 
22
TEXT="#000000"
 
23
LINK="#0000FF"
 
24
VLINK="#840084"
 
25
ALINK="#0000FF"
 
26
><DIV
 
27
CLASS="NAVHEADER"
 
28
><TABLE
 
29
SUMMARY="Header navigation table"
 
30
WIDTH="100%"
 
31
BORDER="0"
 
32
CELLPADDING="0"
 
33
CELLSPACING="0"
 
34
><TR
 
35
><TH
 
36
COLSPAN="3"
 
37
ALIGN="center"
 
38
>DejaGnu: The GNU Testing Framework</TH
 
39
></TR
 
40
><TR
 
41
><TD
 
42
WIDTH="10%"
 
43
ALIGN="left"
 
44
VALIGN="bottom"
 
45
><A
 
46
HREF="x1551.html"
 
47
ACCESSKEY="P"
 
48
>&#60;&#60;&#60; Previous</A
 
49
></TD
 
50
><TD
 
51
WIDTH="80%"
 
52
ALIGN="center"
 
53
VALIGN="bottom"
 
54
></TD
 
55
><TD
 
56
WIDTH="10%"
 
57
ALIGN="right"
 
58
VALIGN="bottom"
 
59
><A
 
60
HREF="x1590.html"
 
61
ACCESSKEY="N"
 
62
>Next &#62;&#62;&#62;</A
 
63
></TD
 
64
></TR
 
65
></TABLE
 
66
><HR
 
67
ALIGN="LEFT"
 
68
WIDTH="100%"></DIV
 
69
><DIV
 
70
CLASS="CHAPTER"
 
71
><H1
 
72
><A
 
73
NAME="UNIT"
 
74
></A
 
75
>Unit Testing</H1
 
76
><DIV
 
77
CLASS="SECT1"
 
78
><H1
 
79
CLASS="SECT1"
 
80
><A
 
81
NAME="UNITTEST"
 
82
></A
 
83
>What Is Unit Testing ?</H1
 
84
><P
 
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
 
92
><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
 
97
      test.</P
 
98
></DIV
 
99
></DIV
 
100
><DIV
 
101
CLASS="NAVFOOTER"
 
102
><HR
 
103
ALIGN="LEFT"
 
104
WIDTH="100%"><TABLE
 
105
SUMMARY="Footer navigation table"
 
106
WIDTH="100%"
 
107
BORDER="0"
 
108
CELLPADDING="0"
 
109
CELLSPACING="0"
 
110
><TR
 
111
><TD
 
112
WIDTH="33%"
 
113
ALIGN="left"
 
114
VALIGN="top"
 
115
><A
 
116
HREF="x1551.html"
 
117
ACCESSKEY="P"
 
118
>&#60;&#60;&#60; Previous</A
 
119
></TD
 
120
><TD
 
121
WIDTH="34%"
 
122
ALIGN="center"
 
123
VALIGN="top"
 
124
><A
 
125
HREF="book1.html"
 
126
ACCESSKEY="H"
 
127
>Home</A
 
128
></TD
 
129
><TD
 
130
WIDTH="33%"
 
131
ALIGN="right"
 
132
VALIGN="top"
 
133
><A
 
134
HREF="x1590.html"
 
135
ACCESSKEY="N"
 
136
>Next &#62;&#62;&#62;</A
 
137
></TD
 
138
></TR
 
139
><TR
 
140
><TD
 
141
WIDTH="33%"
 
142
ALIGN="left"
 
143
VALIGN="top"
 
144
>Special variables used by test cases.</TD
 
145
><TD
 
146
WIDTH="34%"
 
147
ALIGN="center"
 
148
VALIGN="top"
 
149
>&nbsp;</TD
 
150
><TD
 
151
WIDTH="33%"
 
152
ALIGN="right"
 
153
VALIGN="top"
 
154
>The dejagnu.h Header File</TD
 
155
></TR
 
156
></TABLE
 
157
></DIV
 
158
></BODY
 
159
></HTML
 
160
>
 
 
b'\\ No newline at end of file'