This is great, Lalo! Thanks. 

I checked in ZUnit support to ZWiki-cvs, and the first couple of unit
tests. Suddenly, I feel all Extreme!

FWIW, here's how I run the tests. I made a TestRunner called
ZWikiTests, pointing to "Products.ZWiki.TestSuite". I have these rules
in a makefile:

  unit-test test:
        @wget -nv 
'http://<username>:<password>@localhost:<port>/ZWikiTests/manage_startTests' -O 
TESTOUTPUT
        @cat TESTOUTPUT

  refresh:
        @wget --spider -nv 
'http://<username>:<password>@localhost:<port>/Control_Panel/Products/ZWiki/manage_refresh?performRefresh=1&quickRefresh=1'

After making some changes to the product files, I

> make refresh test
200 OK

14:03:17 
URL:http://<username>:<password>@localhost:<port>/ZWikiTests/manage_startTests [34] -> 
"TESTOUTPUT" [1]
 .
.
 .

Time: 1.329s

OK (3 tests)


This rocks. In fact, as I ran the above it caught a typo in
ZWiki/Tests.py which otherwise you all would have had to deal with.

-Simon

_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to