[Zope-dev] unit tests
Jens Vagelpohl
jens at dataflake.org
Thu Apr 12 08:21:35 EDT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 12 Apr 2007, at 13:35, Miles wrote:
> However, having logged this, the testrunner proceeded to run all my
> tests correctly, and so the buildbot reported a pass. I expected
> the testrunner to bomb out on encountering this error, but it
> didn't - however if I start zope with zopectl fg, the bug I
> introduced causes it to fail to start.
>
> I'm a bit concerned that there was a false test pass. Is there a
> way to stop the testrunner in this case, in the same way as running
> in fg mode?
If I remember correctly the startup success/failure with a defective
product present is governed by debug mode. If you turn it on in
zope.conf and attempt to start Zope via "zopectl start" it should
fail as desired. "zopectl fg" forces debug mode to be switched on.
jens
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
iD8DBQFGHiRPRAx5nvEhZLIRAg9+AJ9/Rc5iXyl3HNasxXcojJ0VrFi7AACbBaui
LxCX4H/TRbg7G8NN8MZqcsE=
=y1FY
-----END PGP SIGNATURE-----
More information about the Zope-Dev
mailing list