Re: [Zope3-Users] test writing with z3c.testsetup

2009-03-17 Thread Stephan Richter
On Tuesday 17 March 2009, Simon Elbaz wrote:
 It is maybe the download list http://download.zope.org/distribution/ that
 is not up to date.

We should just remove this directory. Is there still anything useful there?

Regards,
Stephan
-- 
Stephan Richter
Web Software Design, Development and Training
Google me. Zope Stephan Richter
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] test writing with z3c.testsetup

2009-03-17 Thread Dan Korostelev
2009/3/17 Stephan Richter srich...@cosmos.phy.tufts.edu:
 On Tuesday 17 March 2009, Simon Elbaz wrote:
 It is maybe the download list http://download.zope.org/distribution/ that
 is not up to date.

 We should just remove this directory. Is there still anything useful there?

I use PILwoTk from there, however, I add the url to the package
directly as a find-link. It would be cool if the original PIL package
download worked out of box.


-- 
WBR, Dan Korostelev
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] test writing with z3c.testsetup

2009-03-15 Thread Simon Elbaz
Hi,
I have some difficulties to run tests with z3c.testsetup. Running
cdcadama/bin/test yields this output:

bash-3.00$ cdcadama/bin/test -vvv
Running tests at level 1
Running unit tests:
  Running:
 
/home/simon/.buildout/eggs/z3c.testsetup-0.2.1-py2.4.egg/z3c/testsetup/basicsetup.txt
(0.140 s)
 
/home/simon/.buildout/eggs/z3c.testsetup-0.2.1-py2.4.egg/z3c/testsetup/functionaldoctestsetup.txt
(0.052 s)
 
/home/simon/.buildout/eggs/z3c.testsetup-0.2.1-py2.4.egg/z3c/testsetup/pythontestsetup.txt
(0.041 s)
 
/home/simon/.buildout/eggs/z3c.testsetup-0.2.1-py2.4.egg/z3c/testsetup/unitdoctestsetup.txt
(0.010 s)
 /home/simon/.buildout/eggs/z3c.testsetup-0.2.1-py2.4.egg/z3c/testsetup/util.txt
(0.003 s)
 
/home/simon/.buildout/eggs/z3c.testsetup-0.2.1-py2.4.egg/z3c/testsetup/unittestsetup.txt
(0.010 s)
 
/home/simon/.buildout/eggs/z3c.testsetup-0.2.1-py2.4.egg/z3c/testsetup/testrunner.txt
(2.007 s)
 
/home/simon/.buildout/eggs/z3c.testsetup-0.2.1-py2.4.egg/z3c/testsetup/README.txt
(0.154 s)
 
/home/simon/.buildout/eggs/z3c.testsetup-0.2.1-py2.4.egg/z3c/testsetup/testgetter.txt
(0.170 s)
  Ran 173 tests with 0 failures and 0 errors in 2.593 seconds.


I don't understand why it does not take the tests written under
cdcadama/src/cdcadama/tests/customer/ directory.
In this directory, I have put 2 files along with __init__.py:
bash-3.00$ more doctest01.txt  testsetup01.py
::
doctest01.txt
::
 doctest
=

:doctest:

This is a simple doctest.

 1+1
2

::
testsetup01.py
::
import z3c.testsetup

test_suite = z3c.testsetup.register_all_tests('cdcadama.tests.customer')

What should I do to have these files processed by the testrunner ?

Thanks for your help
Simon
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users