[Product-Developers] Re: Added tests won't run

Maurits van Rees m.van.rees at zestsoftware.nl
Thu Sep 4 17:45:19 UTC 2008


Kevin Harvey, on 2008-09-04:
>
> Super noob question here: I'm working through Martin Aspeli's book
> Professional Plone Development and, like a good programmer, I'm starting to
> learn unit testing. When I first add the test_setup.py and base.py files
> everything is fine and the tests run properly ('Ran 2 tests with 2 failures
> and 0 errors').

1. Yes, the tests run properly.

2. But both tests should pass.  In this case they both fail.  So not
everything is correct here.

Can you paste the failures that are reported (either from this test
run or the one with 8 tests and 6 failures)?


-- 
Maurits van Rees | http://maurits.vanrees.org/
            Work | http://zestsoftware.nl/
"This is your day, don't let them take it away." [Barlow Girl]





More information about the Product-Developers mailing list