[Zope-Coders] Shane's nightly test vs. my fresh checkout
Jeffrey P Shell
jeffrey@cuemedia.com
Tue, 20 Nov 2001 09:18:28 -0700
On Tuesday, November 20, 2001, at 05:27 AM, Tres Seaver wrote:
>
> BTW, I have checked in changes on a branch,
> 'tseaver-utxr-refactoring-branch', which make it possible to
> run all tests using the GUI testrunner; I think we may be able
> to promote running them this way as the standard::
>
> $ cvs -q up -r tseaver-utxr-refactoring-branch
> $ PYTHONPATH=`pwd`/lib/python:`pwd` python2.1 \
> /home/tseaver/projects/unittestgui.py \
> Testing.Builder.allZopeTests
>
Why use the GUI one as the standard? Should it not matter if the
tests run from either the pure text or the GUI? If testrunner.py
is giving spurious results, maybe its time to do a solid revamp of
it to take advantage of newer PyUnit features.
> yields a "redbar", with the same failure. It runs subsuites
> (including modules with only TestCase-derived classes and no
> 'def test_suite'!), equally easily. For instance, if I change
> the test name from 'Testing.Builder.allZopeTests' to
> 'AccessControl.tests.testSecurity', and click, only those tests
> run (but still give me the "redbar", unlike testrunner, which
> only fails if I run the whole suite). Whoops, it actually yields
> a second test failure, in 'testNoImplicitAccess'; WAAA!
>
Jeffrey P Shell, jeffrey@cuemedia.com