1 /* -*- Indented-Text -*- */
6 CCUnit is a simple framework to write repeatable tests with C language.
8 CCUnit ¤Ï C ¸À¸ì¤Ç·«¤êÊÖ¤·²Äǽ¤Ê¥Æ¥¹¥È¤ò½ñ¤¯¤¿¤á¤Î´Êñ¤Ê¥Õ¥ì
12 [see also <a href="../ja/index.html">Japanese</a> documents]
14 [see also <a href="../../index.html">English</a> documents]
18 @section _installation Installation
20 @section _installation ¥¤¥ó¥¹¥È¡¼¥ë
24 Below are the installation steps for installing CCUnit:
26 °Ê²¼¤Ë CCUnit¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¼ê½ç¤ò¼¨¤·¤Þ¤¹¡£
30 <li>expand the archive file.</li>
31 <li>cd to expanded dir. </li>
32 <li>run the `<code>./configure</code>' file. </li>
33 <li>type <code>make</code> to create ccunit library. </li>
34 <li>type <code>make install</code> to install.</li>
38 <li>¥¢¡¼¥«¥¤¥Ö¥Õ¥¡¥¤¥ë¤òŸ³«¤·¤Þ¤¹¡£</li>
39 <li>Ÿ³«¤·¤¿¥Ç¥£¥ì¥¯¥È¥ê¤Ëcd¤·¤Þ¤¹¡£</li>
40 <li>`<code>./configure</code>' ¥Õ¥¡¥¤¥ë¤ò¼Â¹Ô¤·¤Þ¤¹¡£</li>
41 <li><code>make</code> ¤È¥¿¥¤¥×¤·¤Æ ccunit ¥é¥¤¥Ö¥é¥ê¤òºîÀ®¤·¤Þ¤¹¡£</li>
42 <li><code>make install</code> ¤È¤·¤Æ¥¤¥ó¥¹¥È¡¼¥ë¤·¤Þ¤¹¡£</li>
47 @section _usage Getting Started
49 @section _usage ¤µ¤¢»Ï¤á¤Þ¤·¤ç¤¦
53 <a href="modules.html">Modules</a> give
54 you a organized view of %CCUnit modules.
56 <a href="modules.html">¥â¥¸¥å¡¼¥ë</a>
57 ¥»¥¯¥·¥ç¥ó¤Ï CCUnit ¤Î¥â¥¸¥å¡¼¥ë¤òÀ°Íý¤·¤Æɽ¼¨¤·¤Æ¤¤¤Þ¤¹¡£
60 You find additional samples in the examples directory.
62 examples ¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤Ï¥µ¥ó¥×¥ë¥Õ¥¡¥¤¥ë¤¬¤¢¤ê¤Þ¤¹¡£
65 - ComplexTest.c - some complex number library test cases
67 - ComplexTest.c - Ê£ÁÇ¿ô¥é¥¤¥Ö¥é¥ê¤Î¤¤¤¯¤Ä¤«¤Î¥Æ¥¹¥È¥±¡¼¥¹¤Ç¤¹
71 @section _documentation Documentation
73 @section _documentation ¥É¥¥å¥á¥ó¥È
77 <dt>CCUnit Cookbook</dt>
79 A <a href="cookbook.html">cookbook</a> for implementing
80 tests with CCUnit. (and <a
81 href="../ja/cookbook.html">cookbook in
84 CCUnit¤Ç¥Æ¥¹¥È¤ò¼ÂÁõ¤¹¤ë¤¿¤á¤Î<a href="cookbook.html">¥¯¥Ã¥¯¥Ö¥Ã¥¯</a>
86 href="../../cookbook.html">Cookbook in
91 @section _license Lincense
93 @section _license ¥é¥¤¥»¥ó¥¹
97 This library is released under the GNU
98 <a href="http://www.gnu.org/copyleft/lesser.html"
99 >Lesser General Public License</a>.
101 ¤³¤Î¥é¥¤¥Ö¥é¥ê¤Ï¡¢GNU <a href="http://www.gnu.org/copyleft/lesser.html"
102 >Lesser General Public License</a> ¤Î¸µ¤ÇÇÛÉÛ¤·¤Æ¤¤¤Þ¤¹¡£
105 @section _links Related Links
107 @section _links ´ØÏ¢¥ê¥ó¥¯
111 - <a href="http://cunit.sourceforge.net/">CUnit</a>:
112 @~english CUnit is Unit Testing Framework for 'C' language.
113 @~japanese CUnit ¤Ï 'C' ¸À¸ì¤Î¥æ¥Ë¥Ã¥È¥Æ¥¹¥È¥Õ¥ì¡¼¥à¥ï¡¼¥¯¤Ç¤¹¡£
114 - <a href="http://sourceforge.net/projects/embunit/">EmbUnit</a>,
115 <a href="http://sourceforge.jp/projects/embunit/">EmbUnit</a>:
117 Embedded Unit is unit testing framework for Embedded C
118 System. Its design was copied from JUnit and CUnit and
119 more, and then adapted somewhat for Embedded C
120 System. Embedded Unit does not require std C libs. All
121 objects are allocated to const area.
122 @~japanese EmbeddedUnit ¤ÏC¸À¸ì¤ò»È¤Ã¤¿ÁȤ߹þ¤ß·Ï³«È¯¸þ¤±
123 ¤Î¥Æ¥¹¥È¥æ¥Ë¥Ã¥È¥Õ¥ì¡¼¥à¥ï¡¼¥¯¤Ç¤¹¡£Cɸ½à¥é¥¤¥Ö¥é¥ê¤ò»È
124 ¤ï¤Ê¤¤¤Î¤Ç¼Â¹Ô»ñ¸»¤Î¾¯¤Ê¤¤¥¿¡¼¥²¥Ã¥È´Ä¶¤Ç¤âÆ°ºî²Äǽ¤Ç¤¹¡£
125 - <a href="http://junit.org/index.htm">JUnit</a>:
126 @~english JUnit is a regression testing framework written
127 by Erich Gamma and Kent Beck. It is used by the
128 developer who implements unit tests in Java.
129 @~japanese JUnit¤Ï¥ê¥°¥ì¥Ã¥·¥ç¥ó¥Æ¥¹¥È¥Õ¥ì¡¼¥à¥ï¡¼¥¯¤Ç¤¢¤ê¡¢
130 Erich Gamma ¤È Kent Beck ¤Ë¤è¤Ã¤Æ½ñ¤«¤ì¤Þ¤·¤¿¡£¤³¤ì¤Ï
131 Java¤Ç¥Æ¥¹¥È¥æ¥Ë¥Ã¥È¤ò¼ÂÁõ¤¹¤ë³«È¯¼Ô¤¬»ÈÍѤ·¤Þ¤¹¡£
133 - <a href="http://cppunit.sourceforge.net/cgi-bin/moin.cgi">CppUnit</a>:
134 @~english CppUnit is a C++ unit testing framework.
135 @~japanese CppUnit ¤Ï C++ ¥æ¥Ë¥Ã¥È¥Æ¥¹¥È¥Õ¥ì¡¼¥à¥ï¡¼¥¯¤Ç¤¹¡£
136 - <a href="http://cxxtest.sourceforge.net/">CxxTest</a>:
137 @~english CxxTest is a JUnit/CppUnit/xUnit-like framework for C++.
138 @~japanese CxxTest ¤Ï JUnit/CppUnit/xUnit ¥é¥¤¥¯¤Î C++ÍÑ
140 - <a href="http://sourceforge.net/projects/ccunit">ccUnit</a>:
141 @~english ccUnit is a C++ unit testing framework.
142 @~japanese ccUnit ¤Ï C++ ¥æ¥Ë¥Ã¥È¥Æ¥¹¥È¥Õ¥ì¡¼¥à¥ï¡¼¥¯¤Ç
145 - <a href="http://www.xprogramming.com/index.htm">XProgramming.com</a>:
146 @~english an Extreme Programming Resources.
147 @~japanese ¥¨¥¯¥¹¥È¥ê¡¼¥à¥×¥í¥°¥é¥ß¥ó¥°¤Î¥ê¥½¡¼¥¹½¸¤Ç¤¹¡£
148 - <a href="http://xp.medinfo.m.ehime-u.ac.jp/">XPJUG</a>:
149 @~english Japan XP User Group.
150 @~japanese ÆüËÜXP¥æ¡¼¥¶¥°¥ë¡¼¥×
155 /** @defgroup WritingTestFixture Writing test fixture
158 /** @defgroup Assertions Making assertions
161 /** @defgroup CreatingTestSuite Creating TestSuite
162 * @sa CCUnitMakeSuite
165 /** @defgroup ExecutingTest Executing test
168 /** @defgroup TrackingTestExecution Tracking test execution
171 /** @defgroup BrowsingCollectedTestResult Browsing collected test result
174 /** @defgroup ModuleHierarchy Module hierarchy