[utest] r28 committed - Edited wiki page through web user interface.

0 views
Skip to first unread message

codesite...@google.com

unread,
Aug 7, 2009, 6:02:47 AM8/7/09
to utes...@googlegroups.com
Revision: 28
Author: franco.ponticelli
Date: Fri Aug 7 02:57:18 2009
Log: Edited wiki page through web user interface.
http://code.google.com/p/utest/source/detail?r=28

Modified:
/wiki/BasicTutorial.wiki

=======================================
--- /wiki/BasicTutorial.wiki Fri Aug 7 02:28:07 2009
+++ /wiki/BasicTutorial.wiki Fri Aug 7 02:57:18 2009
@@ -3,12 +3,13 @@
= Introduction =

In this small example a class Test contains the logic of the test itself
(testMath) and the test execution (code in main).
-Every test fixture (method that includes one or more assertion) must be
prefixed with the lower cased word "test". You can add two special
functions "setup" and "tearDown" that will be executed just before and
after each test method. They are used to prepare and clean-up the tests
environment.
-Assertions are made accessing the static methods of the Assert class.
-

= Details =

+Every test fixture (method that includes one or more assertion) must be
prefixed with the lower cased word "test". You can add two special
functions "setup" and "tearDown" that will be executed just before and
after each test method. They are used to prepare and clean-up the tests
environment.
+Test cases classes (classes that include one or more text fixture) do not
have to extend/implement any special class/interface. The only condition to
make them work is that they use the naming described above and that they
have the "public" modifier.
+Assertions are made accessing the static methods of the Assert class.
+
Test.hx
{{{
import utest.Assert;

Reply all
Reply to author
Forward
0 new messages