[Zope3-Users] Re: testing setup
lparrab at gmx.net
Wed Jul 19 18:45:07 EDT 2006
thanks for the info... but I guess I'm still missing some configuration to
be able to run the tests...
I just created a file "t.py" in my home directory with the following
from zope.testbrowser.testing import Browser
browser = Browser('http://localhost')
just to see if I can open a connection to the "test server"... but if I try
to run that code, I get this error message:
Traceback (most recent call last):
[some lines skipped]
factory = factoryRegistry.lookup(method, content_type, environment)
line 97, in lookup
raise ConfigurationError('No registered publisher found '
zope.configuration.exceptions.ConfigurationError: No registered publisher
found for (GET/)
Baiju M wrote:
> On 7/19/06, luis <lparrab at gmx.net> wrote:
>> I'm having problems trying to write some tests for my code so...
>> can someone tell me (or point me to) how to setup the "infrastructure"
>> required for running unit -and specially- functional tests?
> These recipes may be usefull:
> Baiju M
More information about the Zope3-users