[Zope3-Users] Re: testing setup
luis
lparrab at gmx.net
Wed Jul 19 18:45:07 EDT 2006
Hi all,
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
contents:
###
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)
File
"/home/luis/src/Z/Zope3/src/zope/app/publication/requestpublicationregistry.py",
line 97, in lookup
raise ConfigurationError('No registered publisher found '
zope.configuration.exceptions.ConfigurationError: No registered publisher
found for (GET/)
------------------
any ideas?
regards. luis
Baiju M wrote:
> On 7/19/06, luis <lparrab at gmx.net> wrote:
>>
>> hello,
>>
>> 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:
>
> http://www.zope-cookbook.org/cookbook/recipe06
> http://www.zope-cookbook.org/cookbook/recipe07
>
> Regards,
> Baiju M
More information about the Zope3-users
mailing list