[svn] / zope.testing Repository:
ViewVC logotype

Log of /zope.testing

View Directory Listing Directory Listing


Sticky Revision:

Revision 120502 - Directory Listing
Modified Mon Feb 21 12:57:12 2011 UTC (4 years, 4 months ago) by icemac
Back to development: 3.9.7

Revision 120501 - Directory Listing
Modified Mon Feb 21 12:56:26 2011 UTC (4 years, 4 months ago) by icemac
Tagging 3.9.6

Revision 120500 - Directory Listing
Modified Mon Feb 21 12:56:05 2011 UTC (4 years, 4 months ago) by icemac
Preparing release 3.9.6

Revision 120499 - Directory Listing
Modified Mon Feb 21 12:53:52 2011 UTC (4 years, 4 months ago) by icemac
LP #719369: An `Unexpected success`_ (concept intruduced in Python 2.7) is no longer handled as success but as failure. This is a workaround. The whole unexpected success concept might be implemented later.
(Adapted from zope.testrunner)

Revision 120498 - Directory Listing
Modified Mon Feb 21 12:53:04 2011 UTC (4 years, 4 months ago) by icemac
Fixed tests to run on Python 2.7, too (fix taken from zope.testrunner)

Revision 120497 - Directory Listing
Modified Mon Feb 21 12:51:30 2011 UTC (4 years, 4 months ago) by icemac
- fixed recipe version, so zope.testrunner does not sneak in
- added test support for Python 2.7

Revision 118642 - Directory Listing
Modified Tue Nov 30 11:06:17 2010 UTC (4 years, 7 months ago) by fdrake
bump version

Revision 118641 - Directory Listing
Modified Tue Nov 30 11:04:10 2010 UTC (4 years, 7 months ago) by fdrake
tag release 3.10.2

Revision 118640 - Directory Listing
Modified Tue Nov 30 11:02:29 2010 UTC (4 years, 7 months ago) by fdrake
fix test of broken symlink handling to not break on Windows

Revision 118639 - Directory Listing
Modified Mon Nov 29 21:38:36 2010 UTC (4 years, 7 months ago) by fdrake
bump version

Revision 118638 - Directory Listing
Modified Mon Nov 29 21:37:12 2010 UTC (4 years, 7 months ago) by fdrake
tag zope.testing 3.10.1

Revision 118637 - Directory Listing
Modified Mon Nov 29 21:35:01 2010 UTC (4 years, 7 months ago) by fdrake
make directory cleanup resiliant in the face of broken symlinks

Revision 117825 - Directory Listing
Modified Sat Oct 23 20:14:44 2010 UTC (4 years, 8 months ago) by mgedmin
Use REPORT_NDIFF to make failures easier to understand.

This particular doctest chunk fails under Wine: the whole unit test layer is
skipped, leaving just the functional ones.


Revision 117137 - Directory Listing
Modified Fri Oct 1 18:11:50 2010 UTC (4 years, 9 months ago) by mgedmin
Update to a newer bootstrap.

(I can't get buildout to work for various python versions with the current
zc.buildout and the old bootstrap.py).


Revision 117136 - Directory Listing
Modified Fri Oct 1 17:52:34 2010 UTC (4 years, 9 months ago) by mgedmin
Unpin zc.recipe.testrunner -- zope.testing.testrunner is now gne.


Revision 116731 - Directory Listing
Modified Wed Sep 22 15:30:39 2010 UTC (4 years, 9 months ago) by wosc
snapshot that was lying around in my workingcopy for far too long... I'll probably need to start over anyway when I get a Round Tuit(tm).

Revision 116312 - Directory Listing
Modified Sun Sep 12 13:01:01 2010 UTC (4 years, 9 months ago) by hannosch
Update to dev version

Revision 116311 - Directory Listing
Modified Sun Sep 12 12:59:51 2010 UTC (4 years, 9 months ago) by hannosch
Create a 3.9 maintenance branch

Revision 115842 - Directory Listing
Modified Fri Aug 20 14:47:10 2010 UTC (4 years, 10 months ago) by adamg
nope :-( does not work, theres some weird race condition going on

Revision 115841 - Directory Listing
Modified Fri Aug 20 14:34:49 2010 UTC (4 years, 10 months ago) by adamg
This should fix the only failure on winbot (win server 2003 64 bit+py24)

Revision 115838 - Directory Listing
Modified Fri Aug 20 14:16:58 2010 UTC (4 years, 10 months ago) by adamg
This should fix the only failure on winbot (win server 2003 64 bit+py24)

Revision 114905 - Directory Listing
Modified Wed Jul 21 16:59:36 2010 UTC (4 years, 11 months ago) by regebro
Back to development: 3.10.1

Revision 114904 - Directory Listing
Modified Wed Jul 21 16:55:33 2010 UTC (4 years, 11 months ago) by regebro
Tagging 3.10.0

Revision 114903 - Directory Listing
Modified Wed Jul 21 16:54:30 2010 UTC (4 years, 11 months ago) by regebro
Preparing release 3.10.0

Revision 114902 - Directory Listing
Modified Wed Jul 21 16:53:39 2010 UTC (4 years, 11 months ago) by regebro
Update CHANGES.txt.

Revision 114901 - Directory Listing
Modified Wed Jul 21 16:02:46 2010 UTC (4 years, 11 months ago) by regebro
Remove testrunner, it's in zope.testrunner now.

Revision 114744 - Directory Listing
Modified Wed Jul 14 14:24:25 2010 UTC (4 years, 11 months ago) by tseaver
Explain where to put default.cfg

Revision 114743 - Directory Listing
Modified Wed Jul 14 14:23:22 2010 UTC (4 years, 11 months ago) by tseaver
Add support for running tests under Python 2.7.

Revision 114740 - Directory Listing
Modified Wed Jul 14 14:17:45 2010 UTC (4 years, 11 months ago) by tseaver
Pinning older zc.recipe.testrunner to use our own testrunner to test itself.

This pin should go away when we remove the non-BBB-import testrunner stuff.

Revision 114021 - Directory Listing
Modified Wed Jun 30 15:07:16 2010 UTC (5 years ago) by fdrake
fixed typos

Revision 113897 - Directory Listing
Modified Sat Jun 26 15:33:27 2010 UTC (5 years ago) by tseaver
Update fix for LP #221151 to a spelliing compatible with Python 2.4.

Revision 113894 - Directory Listing
Modified Sat Jun 26 15:23:31 2010 UTC (5 years ago) by tseaver
Just override 'shortDescription' as Python 2.4's version uses a private attr.

Revision 113633 - Directory Listing
Modified Sat Jun 19 08:40:16 2010 UTC (5 years ago) by romanofski
LP #221151: Keep unittest.TestCase.shortDescription happy via
_testMethodDoc attribute.


Revision 113067 - Directory Listing
Modified Thu Jun 3 17:55:38 2010 UTC (5 years, 1 month ago) by tseaver
Remove CVS-era Id fossils.

Revision 112945 - Directory Listing
Modified Wed Jun 2 22:46:50 2010 UTC (5 years, 1 month ago) by tseaver
Unzip recipe eggs.

Revision 112941 - Directory Listing
Modified Wed Jun 2 21:20:17 2010 UTC (5 years, 1 month ago) by tseaver
Make it easier / more natural to add eggs.

Revision 112722 - Directory Listing
Modified Wed May 26 09:31:20 2010 UTC (5 years, 1 month ago) by zagy
add the 3.8.7 changelog to trunk

Revision 112551 - Directory Listing
Modified Wed May 19 15:24:40 2010 UTC (5 years, 1 month ago) by tseaver
svb

Revision 112550 - Directory Listing
Modified Wed May 19 15:24:13 2010 UTC (5 years, 1 month ago) by tseaver
Tag 3.9.5 release.

Revision 112549 - Directory Listing
Modified Wed May 19 15:17:56 2010 UTC (5 years, 1 month ago) by tseaver
Prep 3.9.5 release.

Revision 112548 - Directory Listing
Modified Wed May 19 15:15:27 2010 UTC (5 years, 1 month ago) by tseaver
Add LP reference, make changes recent-first.

Revision 112284 - Directory Listing
Modified Thu May 13 17:15:46 2010 UTC (5 years, 1 month ago) by sidnei
- LP #579019: When layers were run in parallel, their tearDown was
  not called. Additionally, the first layer which was run in the main
  thread did not have it's tearDown called either.

Revision 111852 - Directory Listing
Modified Sat May 1 18:55:09 2010 UTC (5 years, 2 months ago) by regebro
Zope.testing now depends on only setuptools\! Lovely\!

Revision 111643 - Directory Listing
Modified Fri Apr 30 16:41:02 2010 UTC (5 years, 2 months ago) by regebro
Deprecate zope.testing.exceptions as well.

Revision 111520 - Directory Listing
Modified Wed Apr 28 06:29:43 2010 UTC (5 years, 2 months ago) by regebro
Cleaning obsolete branches

Revision 111519 - Directory Listing
Modified Wed Apr 28 06:28:52 2010 UTC (5 years, 2 months ago) by regebro
Cleaning obsolete branches.

Revision 111518 - Directory Listing
Modified Wed Apr 28 06:27:06 2010 UTC (5 years, 2 months ago) by regebro
A bit of cleanup.

Revision 111517 - Directory Listing
Modified Wed Apr 28 06:24:28 2010 UTC (5 years, 2 months ago) by regebro
Testrunner and doctest BBB dropped.

Revision 111516 - Directory Listing
Modified Wed Apr 28 06:21:28 2010 UTC (5 years, 2 months ago) by regebro
Branch for testing what will be zope.testing 4.0.0.

Revision 111515 - Directory Listing
Modified Wed Apr 28 06:16:52 2010 UTC (5 years, 2 months ago) by regebro
Deprecating zope.testing.testrunner in favour of zope.testrunner.

Revision 111510 - Directory Listing
Modified Tue Apr 27 18:35:21 2010 UTC (5 years, 2 months ago) by regebro
Fixed a missing import.

Revision 111506 - Directory Listing
Modified Tue Apr 27 17:54:35 2010 UTC (5 years, 2 months ago) by regebro
Testrunner BBB + DeprecationWarning. I'm amazed this actually works... :)

Revision 111504 - Directory Listing
Modified Tue Apr 27 17:23:20 2010 UTC (5 years, 2 months ago) by regebro
Less brittle version of this monkey

Revision 111456 - Directory Listing
Modified Mon Apr 26 21:32:34 2010 UTC (5 years, 2 months ago) by regebro
This should be in the testrunners doctest support.

Revision 111451 - Directory Listing
Modified Mon Apr 26 16:56:11 2010 UTC (5 years, 2 months ago) by regebro
Syncing of the branches. 

Revision 111450 - Directory Listing
Modified Mon Apr 26 16:40:53 2010 UTC (5 years, 2 months ago) by regebro
I like setup.cfg for development versions.

Revision 111449 - Directory Listing
Modified Mon Apr 26 16:40:11 2010 UTC (5 years, 2 months ago) by regebro
I like setup.cfg's for dev versions.

Revision 111448 - Directory Listing
Modified Mon Apr 26 16:38:24 2010 UTC (5 years, 2 months ago) by regebro
Syncing the branches. 

Revision 111446 - Directory Listing
Modified Mon Apr 26 16:33:53 2010 UTC (5 years, 2 months ago) by regebro
A further bug that needed patching.

Revision 111445 - Directory Listing
Modified Mon Apr 26 16:28:28 2010 UTC (5 years, 2 months ago) by regebro
Some more comments.

Revision 111414 - Directory Listing
Modified Mon Apr 26 08:44:44 2010 UTC (5 years, 2 months ago) by regebro
Python 3.1 support.

Revision 111409 - Directory Listing
Modified Sun Apr 25 17:48:04 2010 UTC (5 years, 2 months ago) by regebro
Support for Python 2.4.

Revision 111408 - Directory Listing
Modified Sun Apr 25 17:28:55 2010 UTC (5 years, 2 months ago) by regebro
Merge the doctest as patches branch.

Revision 111407 - Directory Listing
Modified Sun Apr 25 17:27:30 2010 UTC (5 years, 2 months ago) by regebro
Third Python 3 effort, now without testrunner and with monkey-patched doctest.

Revision 111164 - Directory Listing
Modified Tue Apr 20 08:39:28 2010 UTC (5 years, 2 months ago) by regebro
The tests pass!

Revision 111162 - Directory Listing
Modified Tue Apr 20 07:35:31 2010 UTC (5 years, 2 months ago) by regebro
Getting very close now. REPORT_ONLY_FIRST_FAILURE doesn't work in the testrunner.

Revision 111141 - Directory Listing
Modified Mon Apr 19 19:33:03 2010 UTC (5 years, 2 months ago) by regebro
Checkpoint.

Revision 111140 - Directory Listing
Modified Mon Apr 19 19:32:13 2010 UTC (5 years, 2 months ago) by regebro
Try to replace the doctest/__init__.py with monkey-patches.

Revision 111081 - Directory Listing
Modified Mon Apr 19 10:10:28 2010 UTC (5 years, 2 months ago) by regebro
This is what happens if you program when you're sleepy.

Revision 111080 - Directory Listing
Modified Mon Apr 19 10:09:17 2010 UTC (5 years, 2 months ago) by regebro
That didn't work. (And it was in the wrong place)

Revision 111057 - Directory Listing
Modified Mon Apr 19 07:36:37 2010 UTC (5 years, 2 months ago) by regebro
Testrunner removed, tests are now run with distribute, or zope.testrunner (once that exists).

Revision 111053 - Directory Listing
Modified Mon Apr 19 07:04:32 2010 UTC (5 years, 2 months ago) by regebro
Trying to extract the testrunner, as per discussion on zope-dev.

Revision 110975 - Directory Listing
Modified Fri Apr 16 14:47:52 2010 UTC (5 years, 2 months ago) by adamg
Tests for LP #561568

Revision 110966 - Directory Listing
Modified Fri Apr 16 13:17:31 2010 UTC (5 years, 2 months ago) by regebro
Merge from the otehr branch + a bit of updates. Doesn't work with 3.1 yet.

Revision 110965 - Directory Listing
Modified Fri Apr 16 13:16:47 2010 UTC (5 years, 2 months ago) by regebro
Trunk has changed a lot, so I restart from trunk and merge in my other changes, not deleting the doctest folder, etc.

Revision 110959 - Directory Listing
Modified Fri Apr 16 09:34:53 2010 UTC (5 years, 2 months ago) by regebro
Answer: No, I can't.

Revision 110955 - Directory Listing
Modified Fri Apr 16 09:15:42 2010 UTC (5 years, 2 months ago) by regebro
This is an experimental branch to monkeypatch doctest instead of including a separate copy.

Revision 110769 - Directory Listing
Modified Tue Apr 13 10:30:45 2010 UTC (5 years, 2 months ago) by sidnei
- Bump version on trunk

Revision 110768 - Directory Listing
Modified Tue Apr 13 10:30:36 2010 UTC (5 years, 2 months ago) by sidnei
- Remove dev marker on tag

Revision 110767 - Directory Listing
Modified Tue Apr 13 10:28:45 2010 UTC (5 years, 2 months ago) by sidnei
- Tag release

Revision 110766 - Directory Listing
Modified Tue Apr 13 10:27:55 2010 UTC (5 years, 2 months ago) by sidnei
- Record release date

Revision 110765 - Directory Listing
Modified Tue Apr 13 10:23:53 2010 UTC (5 years, 2 months ago) by sidnei
- LP #560259: Fix subunit output formatter to handle layer setup
  errors.


Revision 110730 - Directory Listing
Modified Sun Apr 11 01:33:03 2010 UTC (5 years, 2 months ago) by tseaver
LP #399394:  Added a ``--stop-on-error`` option to the testrunner.

The option can also be invoked as ``--stop`` or ``-x``.

Revision 110729 - Directory Listing
Modified Sun Apr 11 01:15:16 2010 UTC (5 years, 2 months ago) by tseaver
LP #498162:  Added a ``--pdb`` alias for the ``-D`` testrunner option.

That option can also be invoked as ``--post-mortem``.

Revision 110728 - Directory Listing
Modified Sun Apr 11 01:04:40 2010 UTC (5 years, 2 months ago) by tseaver
LP #547023:  Added a ``--version`` option to the testrunner.

Revision 110690 - Directory Listing
Modified Thu Apr 8 17:06:48 2010 UTC (5 years, 2 months ago) by tseaver
Wrap long lines, don't leave turds on filesystem.

Revision 110689 - Directory Listing
Modified Thu Apr 8 17:01:36 2010 UTC (5 years, 2 months ago) by tseaver
Comply with repository policy.

Revision 110688 - Directory Listing
Modified Thu Apr 8 17:01:03 2010 UTC (5 years, 2 months ago) by tseaver
Ignore derived.

Revision 110640 - Directory Listing
Modified Thu Apr 8 15:05:06 2010 UTC (5 years, 2 months ago) by tseaver
Added tests for LP #144569 and #69988.

- https://bugs.launchpad.net/bugs/69988

- https://bugs.launchpad.net/zope3/+bug/144569

Revision 110558 - Directory Listing
Modified Tue Apr 6 07:21:36 2010 UTC (5 years, 3 months ago) by tseaver
Wrap long lines, remove junk file creation.

Revision 110557 - Directory Listing
Modified Tue Apr 6 07:21:35 2010 UTC (5 years, 3 months ago) by tseaver
Ignore derived.

Revision 110538 - Directory Listing
Modified Tue Apr 6 03:02:54 2010 UTC (5 years, 3 months ago) by tseaver
Comply with repository policy.

Revision 110219 - Directory Listing
Modified Fri Mar 26 17:10:59 2010 UTC (5 years, 3 months ago) by mgedmin
Back to development: 3.9.4

Revision 110218 - Directory Listing
Modified Fri Mar 26 17:10:05 2010 UTC (5 years, 3 months ago) by mgedmin
Tagging 3.9.3

Revision 110217 - Directory Listing
Modified Fri Mar 26 17:09:45 2010 UTC (5 years, 3 months ago) by mgedmin
Preparing release 3.9.3

Revision 110180 - Directory Listing
Modified Thu Mar 25 16:08:52 2010 UTC (5 years, 3 months ago) by mgedmin
Suppress zope.testing.doctest deprecation warning when running
zope.testing's own test suite.


Revision 110179 - Directory Listing
Modified Thu Mar 25 16:05:54 2010 UTC (5 years, 3 months ago) by mgedmin
zope.testing.renormalizer no longer imports zope.testing.doctest, which
caused deprecation warnings.


Revision 110178 - Directory Listing
Modified Thu Mar 25 16:02:15 2010 UTC (5 years, 3 months ago) by mgedmin
Mention the previous change in the changelog.


Revision 110177 - Directory Listing
Modified Thu Mar 25 15:37:09 2010 UTC (5 years, 3 months ago) by mgedmin
Make the tests not print anything to stderr.

The regression test, introduced in r88047, still works, which I checked by
temporarily reintroducing the raise SubprocessError and seeing it fail.

(Incidentally, SubprocessError is never raised anywhere in the current
codebase.  Instead, output.error_with_banner is called directly.)


Revision 110115 - Directory Listing
Modified Tue Mar 23 12:46:03 2010 UTC (5 years, 3 months ago) by gotcha
revert r110113 :

zope.testing is WRONGLY considered to be only tests by z3c.dependecychecker 
because it uses 'tests' and 'testing' namespaces to decide what code is part of tests

Revision 110113 - Directory Listing
Modified Tue Mar 23 12:03:28 2010 UTC (5 years, 3 months ago) by gotcha
state test dependencies explicitly

Revision 109975 - Directory Listing
Modified Mon Mar 15 10:24:08 2010 UTC (5 years, 3 months ago) by gotcha
add regression test for bug fixed in 109970
thanks for the reminder, mgedmin

Revision 109974 - Directory Listing
Modified Mon Mar 15 10:23:01 2010 UTC (5 years, 3 months ago) by gotcha
rest cosmetics

Revision 109973 - Directory Listing
Modified Mon Mar 15 09:39:46 2010 UTC (5 years, 3 months ago) by gotcha
Back to development: 3.9.3

Revision 109972 - Directory Listing
Modified Mon Mar 15 09:39:07 2010 UTC (5 years, 3 months ago) by gotcha
Tagging 3.9.2

Revision 109971 - Directory Listing
Modified Mon Mar 15 09:38:46 2010 UTC (5 years, 3 months ago) by gotcha
Preparing release 3.9.2

Revision 109970 - Directory Listing
Modified Mon Mar 15 09:32:48 2010 UTC (5 years, 3 months ago) by gotcha
fixed broken 
from zope.testing.doctest import *


Revision 109966 - Directory Listing
Modified Sun Mar 14 22:05:32 2010 UTC (5 years, 3 months ago) by mgedmin
Back to development: 3.9.2

Revision 109965 - Directory Listing
Modified Sun Mar 14 22:04:51 2010 UTC (5 years, 3 months ago) by mgedmin
Tagging 3.9.1

Revision 109964 - Directory Listing
Modified Sun Mar 14 22:04:18 2010 UTC (5 years, 3 months ago) by mgedmin
Preparing release 3.9.1

Revision 109936 - Directory Listing
Modified Fri Mar 12 19:49:32 2010 UTC (5 years, 3 months ago) by sidnei
- Bump version on trunk

Revision 109935 - Directory Listing
Modified Fri Mar 12 19:47:11 2010 UTC (5 years, 3 months ago) by sidnei
- Remove dev marker

Revision 109934 - Directory Listing
Modified Fri Mar 12 19:42:20 2010 UTC (5 years, 3 months ago) by sidnei
- Tag 3.9.0

Revision 109933 - Directory Listing
Modified Fri Mar 12 19:41:13 2010 UTC (5 years, 3 months ago) by sidnei
- Record release date

Revision 109932 - Directory Listing
Modified Fri Mar 12 19:33:30 2010 UTC (5 years, 3 months ago) by sidnei
- Fix tests on Windows.

Revision 109930 - Directory Listing
Modified Fri Mar 12 16:22:28 2010 UTC (5 years, 3 months ago) by sidnei
Fix a test failure introduced by Jonathan's patch:

- Normalize testtools traceback formatter output since size is
  dependent on the traceback content, which can vary.
- Also normalize package versions of doctest/unittest by looking for
  doctest/__init__.py and unittest/__init__.py.


Revision 109927 - Directory Listing
Modified Fri Mar 12 14:47:00 2010 UTC (5 years, 3 months ago) by sidnei
- Added support for conditionally using a subunit-based output
  formatter if subunit and testtools are available. Patch contributed
  by Jonathan Lange.


Revision 109926 - Directory Listing
Modified Fri Mar 12 14:38:03 2010 UTC (5 years, 3 months ago) by sidnei
- Fix testrunner-leaks.txt to use the run_internal helper, so that
  sys.exit() isn't triggered during the test run.


Revision 108556 - Directory Listing
Modified Wed Jan 27 08:30:41 2010 UTC (5 years, 5 months ago) by mgedmin
Fix ReStructuredText errors.


Revision 108537 - Directory Listing
Modified Tue Jan 26 18:08:24 2010 UTC (5 years, 5 months ago) by regebro
Missing imports

Revision 108536 - Directory Listing
Modified Tue Jan 26 17:48:38 2010 UTC (5 years, 5 months ago) by regebro
Two functions from zope.testing.doctest that's not in doctest.

Revision 108513 - Directory Listing
Modified Tue Jan 26 12:47:55 2010 UTC (5 years, 5 months ago) by mgedmin
Back to development: 3.8.8

Revision 108512 - Directory Listing
Modified Tue Jan 26 12:45:32 2010 UTC (5 years, 5 months ago) by mgedmin
Tagging 3.8.7

Revision 108511 - Directory Listing
Modified Tue Jan 26 12:44:58 2010 UTC (5 years, 5 months ago) by mgedmin
Preparing release 3.8.7

Revision 108510 - Directory Listing
Modified Tue Jan 26 12:38:45 2010 UTC (5 years, 5 months ago) by mgedmin
Downgraded the zope.testing.doctest deprecation warning into a
PendingDeprecationWarning.

It's silly to emit DeprecationWarnings when the test runner itself depends
on the deprecated module.  Attempts to fix that present in zope.testing's
trunk are so far incomplete (e.g. zope.testing.renormalizing still triggers
it).


Revision 108509 - Directory Listing
Modified Tue Jan 26 12:34:46 2010 UTC (5 years, 5 months ago) by mgedmin
Bump upcoming version number to 3.9.0dev on trunk.


Revision 108508 - Directory Listing
Modified Tue Jan 26 12:33:56 2010 UTC (5 years, 5 months ago) by mgedmin
Create a 3.8 maintenance branch based on the last release (3.8.6).


Revision 107023 - Directory Listing
Modified Wed Dec 23 21:21:53 2009 UTC (5 years, 6 months ago) by kobold
Modified the testrunner to use the standard Python doctest module instead of
the deprecated zope.testing.doctest.



Revision 106996 - Directory Listing
Modified Wed Dec 23 07:30:33 2009 UTC (5 years, 6 months ago) by mgedmin
Back to development: 3.8.7

Revision 106995 - Directory Listing
Modified Wed Dec 23 07:25:12 2009 UTC (5 years, 6 months ago) by mgedmin
Tagging 3.8.6

Revision 106994 - Directory Listing
Modified Wed Dec 23 07:24:48 2009 UTC (5 years, 6 months ago) by mgedmin
Preparing release 3.8.6

Revision 106993 - Directory Listing
Modified Wed Dec 23 07:24:35 2009 UTC (5 years, 6 months ago) by mgedmin
Add a MANIFEST.in so people with old setuptools can still release.


Revision 106992 - Directory Listing
Modified Wed Dec 23 06:24:13 2009 UTC (5 years, 6 months ago) by mgedmin
Back to development: 3.8.6

Revision 106991 - Directory Listing
Modified Wed Dec 23 06:22:50 2009 UTC (5 years, 6 months ago) by mgedmin
Tagging 3.8.5

Revision 106990 - Directory Listing
Modified Wed Dec 23 06:21:52 2009 UTC (5 years, 6 months ago) by mgedmin
Preparing release 3.8.5

Revision 106989 - Directory Listing
Modified Wed Dec 23 06:20:19 2009 UTC (5 years, 6 months ago) by mgedmin
Update changelog.


Revision 106860 - Directory Listing
Modified Tue Dec 22 09:22:05 2009 UTC (5 years, 6 months ago) by mgedmin
Show the deprecation warning at the spot where the module is imported.


Revision 106859 - Directory Listing
Modified Tue Dec 22 09:16:42 2009 UTC (5 years, 6 months ago) by mgedmin
I think doctestunit.py should spell its own name correctly.


Revision 106828 - Directory Listing
Modified Mon Dec 21 18:52:29 2009 UTC (5 years, 6 months ago) by regebro
Added back the dotestunit imports, but Deprecated the whole module, including doctest. It's in stdlib now.

Revision 106742 - Directory Listing
Modified Fri Dec 18 08:24:19 2009 UTC (5 years, 6 months ago) by ctheune
Back to development: 3.8.5

Revision 106741 - Directory Listing
Modified Fri Dec 18 08:23:47 2009 UTC (5 years, 6 months ago) by ctheune
Tagging 3.8.4

Revision 106740 - Directory Listing
Modified Fri Dec 18 08:23:34 2009 UTC (5 years, 6 months ago) by ctheune
Preparing release 3.8.4

Revision 106739 - Directory Listing
Modified Fri Dec 18 08:23:21 2009 UTC (5 years, 6 months ago) by ctheune
Merge sdouche's work on shuffling tests.

Add some more comments, make some of the language clearer.:

Revision 106738 - Directory Listing
Modified Fri Dec 18 08:18:39 2009 UTC (5 years, 6 months ago) by ctheune
Bah. Forget about it. 3.8 is already pretty muddy. Waiting for a clear-cut
opportunity to switch to 3.9

Revision 106737 - Directory Listing
Modified Fri Dec 18 07:58:47 2009 UTC (5 years, 6 months ago) by ctheune
Create release branch to release last bugfixes without upcoming features.

Revision 106499 - Directory Listing
Modified Mon Dec 14 17:25:00 2009 UTC (5 years, 6 months ago) by regebro
This branch should have releases tagged with svn revisions until merge.

Revision 106493 - Directory Listing
Modified Mon Dec 14 14:47:25 2009 UTC (5 years, 6 months ago) by regebro
Forgot to add a change log.

Revision 106492 - Directory Listing
Modified Mon Dec 14 14:05:44 2009 UTC (5 years, 6 months ago) by regebro
Added docs.

Revision 106491 - Directory Listing
Modified Mon Dec 14 14:02:00 2009 UTC (5 years, 6 months ago) by regebro
The reloaded branch succeeded, I'll delete this one to prevent confusion.

Revision 106489 - Directory Listing
Modified Mon Dec 14 13:56:44 2009 UTC (5 years, 6 months ago) by regebro
Python 3 support done.

Revision 106487 - Directory Listing
Modified Mon Dec 14 13:54:04 2009 UTC (5 years, 6 months ago) by regebro
Some more Python 3.x differences.

Revision 106484 - Directory Listing
Modified Mon Dec 14 13:46:37 2009 UTC (5 years, 6 months ago) by regebro
Added the new blankline that comes at the end of this test now, as Python 3's doctest seems to have trouble with not having a linefeed at the end of prints, and inserts one anyway.

Revision 106483 - Directory Listing
Modified Mon Dec 14 13:38:33 2009 UTC (5 years, 6 months ago) by regebro
More formatting difference in Python 3.

Revision 106472 - Directory Listing
Modified Sun Dec 13 21:20:33 2009 UTC (5 years, 6 months ago) by regebro
More Python 3 fixes.

Revision 106471 - Directory Listing
Modified Sun Dec 13 21:11:11 2009 UTC (5 years, 6 months ago) by regebro
More Python 3 compatibility. Now largely having to do with printing. Python 3 doctests doesn't seem to be happy with outputs that doesn't have a final linefeed.

Revision 106446 - Directory Listing
Modified Sun Dec 13 17:49:57 2009 UTC (5 years, 6 months ago) by regebro
Python 2.7 compatibility. One test is still failing, the test for a post-failure debugging thing.

Revision 106392 - Directory Listing
Modified Thu Dec 10 13:53:44 2009 UTC (5 years, 6 months ago) by regebro
Copy/Paste error.

Revision 106391 - Directory Listing
Modified Thu Dec 10 13:48:22 2009 UTC (5 years, 6 months ago) by regebro
Another Python 3 fix.

Revision 106379 - Directory Listing
Modified Thu Dec 10 11:53:32 2009 UTC (5 years, 6 months ago) by regebro
More Python 3 support. One test disabled.

Revision 106370 - Directory Listing
Modified Thu Dec 10 10:20:28 2009 UTC (5 years, 6 months ago) by regebro
Various Python 3 support.

Revision 106360 - Directory Listing
Modified Wed Dec 9 22:22:56 2009 UTC (5 years, 6 months ago) by regebro
More Python 3 test compatibility changes.

Revision 106357 - Directory Listing
Modified Wed Dec 9 22:09:17 2009 UTC (5 years, 6 months ago) by regebro
Made some tests work under Python 3. This will be slow, boring work.

Revision 106344 - Directory Listing
Modified Wed Dec 9 16:28:50 2009 UTC (5 years, 6 months ago) by regebro
Fixed the last failing (under 2.x) tests by monkey-patching doctest.py.

Revision 106342 - Directory Listing
Modified Wed Dec 9 16:00:56 2009 UTC (5 years, 6 months ago) by regebro
Fixed the unicode problem with monkey-patching.

Revision 106276 - Directory Listing
Modified Tue Dec 8 11:51:55 2009 UTC (5 years, 6 months ago) by regebro
Now it seems to be mostly genuine changes and incompatibilities between Python 2 and 3, including the empty line in diffs.

Revision 106275 - Directory Listing
Modified Tue Dec 8 11:34:54 2009 UTC (5 years, 6 months ago) by regebro
More formatting errors fixed.

Revision 106274 - Directory Listing
Modified Tue Dec 8 10:58:41 2009 UTC (5 years, 6 months ago) by regebro
Having it as an option within the doctest works though.

Revision 106273 - Directory Listing
Modified Tue Dec 8 10:57:00 2009 UTC (5 years, 6 months ago) by regebro
In stdlibs doctest, if you give report option as a paremeter it overrides all other report options. So, don't do that.

Revision 106266 - Directory Listing
Modified Tue Dec 8 07:54:02 2009 UTC (5 years, 6 months ago) by regebro
More formatting errors fixed.

Revision 106265 - Directory Listing
Modified Tue Dec 8 07:06:25 2009 UTC (5 years, 6 months ago) by regebro
More formatting errors gone.

Revision 106264 - Directory Listing
Modified Mon Dec 7 23:42:20 2009 UTC (5 years, 6 months ago) by regebro
Removed the doctest.py, and uses the standard Python doctest.py instead. This results in massive changes in minor formatting. The major difference is that standardlibs doctest counts the number of tests differently, but there are many other differences, including that it actually handles terminal width correctly.
These changes are not done, but most are. I've also commented out a couple of tests with more complex errors so that they wouldn't hide the simple ones.

Revision 106261 - Directory Listing
Modified Mon Dec 7 20:25:43 2009 UTC (5 years, 6 months ago) by regebro
Made the branch in the wrong place.

Revision 106260 - Directory Listing
Modified Mon Dec 7 20:24:13 2009 UTC (5 years, 6 months ago) by regebro
That was unintentional.

Revision 106259 - Directory Listing
Modified Mon Dec 7 20:23:18 2009 UTC (5 years, 6 months ago) by regebro
Exceptions now fall out of scope, unless you do something about it.

Revision 106255 - Directory Listing
Modified Mon Dec 7 19:35:08 2009 UTC (5 years, 6 months ago) by regebro
Big steps forward.

Revision 106254 - Directory Listing
Modified Mon Dec 7 19:22:43 2009 UTC (5 years, 6 months ago) by regebro
Make sure we get the exception printed under Python 3 too.

Revision 106253 - Directory Listing
Modified Mon Dec 7 18:56:38 2009 UTC (5 years, 6 months ago) by regebro
Various changes for Python 3 support.

Revision 106252 - Directory Listing
Modified Mon Dec 7 18:25:58 2009 UTC (5 years, 6 months ago) by regebro
Using the builtin name "filter" confuses 2to3.

Revision 106251 - Directory Listing
Modified Mon Dec 7 17:41:08 2009 UTC (5 years, 6 months ago) by regebro
There we go, we can now run the tests without buildout.

Revision 106250 - Directory Listing
Modified Mon Dec 7 16:02:04 2009 UTC (5 years, 6 months ago) by regebro
This is an attempt to make it possible to run the tests without having buildout.
Not entirely there yet.


Revision 106243 - Directory Listing
Modified Sun Dec 6 19:07:38 2009 UTC (5 years, 6 months ago) by regebro
The current python3 branch confuses me, and is very messy, so I'm starting over.

Revision 106221 - Directory Listing
Modified Sun Dec 6 11:21:57 2009 UTC (5 years, 6 months ago) by zagy
- RENormalizing checkers can be combined via `` + `` now: ``checker1 +
checker2`` creates a checker with the transformations of both checkers.


Revision 106220 - Directory Listing
Modified Sun Dec 6 11:13:14 2009 UTC (5 years, 6 months ago) by zagy
removed the $Id$

Revision 105587 - Directory Listing
Modified Thu Nov 12 19:28:24 2009 UTC (5 years, 7 months ago) by benji_york
fix a broken test (from vaab in #zope-dev)

Revision 105102 - Directory Listing
Modified Fri Oct 16 12:55:12 2009 UTC (5 years, 8 months ago) by sdouche
Initial version of new option shuffle (from repository http://bitbucket.org/multani/zope.testing-shuffle).

Revision 105101 - Directory Listing
Modified Fri Oct 16 12:52:13 2009 UTC (5 years, 8 months ago) by sdouche
Branch to hold tests shuffling feature.


Revision 104880 - Directory Listing
Modified Wed Oct 7 17:53:44 2009 UTC (5 years, 8 months ago) by sidnei
Merged flakes-and-feathers [r=therve,gary] [f=445632].

- Fixed missing imports and undefined variables reported by pyflakes,
  adding tests to exercise the blind spots.
- Cleaned up unused imports reported by pyflakes.

[https://code.launchpad.net/~sidnei/zope.testing/flakes-and-feathers/+merge/13008]

Revision 104869 - Directory Listing
Modified Wed Oct 7 16:23:28 2009 UTC (5 years, 8 months ago) by sidnei
- Merge from flakes-and-feathers

Revision 104868 - Directory Listing
Modified Wed Oct 7 16:16:10 2009 UTC (5 years, 8 months ago) by sidnei
- Branch for pyflakes cleanup

Revision 104792 - Directory Listing
Modified Mon Oct 5 11:06:04 2009 UTC (5 years, 9 months ago) by wosc
backmerge from trunk

Revision 104791 - Directory Listing
Modified Mon Oct 5 11:05:51 2009 UTC (5 years, 9 months ago) by wosc
typos

Revision 104640 - Directory Listing
Modified Wed Sep 30 07:53:17 2009 UTC (5 years, 9 months ago) by Zen
Missing import

Revision 104406 - Directory Listing
Modified Mon Sep 21 17:59:46 2009 UTC (5 years, 9 months ago) by gary
prepare trunk for development

Revision 104405 - Directory Listing
Modified Mon Sep 21 17:58:58 2009 UTC (5 years, 9 months ago) by gary
Make a tag for 3.8.3

Revision 104404 - Directory Listing
Modified Mon Sep 21 17:58:03 2009 UTC (5 years, 9 months ago) by gary
prepare for 3.8.3

Revision 104402 - Directory Listing
Modified Mon Sep 21 16:57:20 2009 UTC (5 years, 9 months ago) by gary
fix for Windows (plus some whitespace fixes my editor threw in)

Revision 104385 - Directory Listing
Modified Mon Sep 21 14:30:46 2009 UTC (5 years, 9 months ago) by gary
make layer-buff tests more robust (plus some whitespace)

Revision 104110 - Directory Listing
Modified Tue Sep 15 16:49:26 2009 UTC (5 years, 9 months ago) by hannosch
Avoid a split() call or we get test failures when running from a directory with spaces in it.

Revision 104087 - Directory Listing
Modified Tue Sep 15 13:57:02 2009 UTC (5 years, 9 months ago) by hannosch
Update version after release

Revision 104086 - Directory Listing
Modified Tue Sep 15 13:55:30 2009 UTC (5 years, 9 months ago) by hannosch
Tagged

Revision 104085 - Directory Listing
Modified Tue Sep 15 13:54:56 2009 UTC (5 years, 9 months ago) by hannosch
Prepare release

Revision 103908 - Directory Listing
Modified Mon Sep 14 05:45:54 2009 UTC (5 years, 9 months ago) by wosc
ported marker parsing functions from z3c.testsetup

Revision 103907 - Directory Listing
Modified Mon Sep 14 05:44:40 2009 UTC (5 years, 9 months ago) by wosc
revert commit, it was on the wrong branch

Revision 103906 - Directory Listing
Modified Mon Sep 14 05:43:35 2009 UTC (5 years, 9 months ago) by wosc
ported marker-parsing functions from z3c.testsetup

Revision 103905 - Directory Listing
Modified Mon Sep 14 05:42:01 2009 UTC (5 years, 9 months ago) by wosc
add 2to3 stanza to setup.py (the doctest part is still pending)

Revision 103904 - Directory Listing
Modified Mon Sep 14 05:41:21 2009 UTC (5 years, 9 months ago) by wosc
fixed urlparse location for py2

Revision 103903 - Directory Listing
Modified Mon Sep 14 05:41:04 2009 UTC (5 years, 9 months ago) by wosc
update tests to fake out curses.error, too

Revision 103887 - Directory Listing
Modified Sun Sep 13 08:39:36 2009 UTC (5 years, 9 months ago) by wosc
py3: urllib2.urlparse-->urllib.parse

Revision 103886 - Directory Listing
Modified Sun Sep 13 08:38:33 2009 UTC (5 years, 9 months ago) by wosc
py3: StringIO can now deal with unicode directly

Revision 103885 - Directory Listing
Modified Sun Sep 13 08:32:06 2009 UTC (5 years, 9 months ago) by wosc
py3: cmp-->lt

Revision 103884 - Directory Listing
Modified Sun Sep 13 08:31:45 2009 UTC (5 years, 9 months ago) by wosc
py3: sys.exc_info() can be called only inside the except, not anytime after an except happened

Revision 103883 - Directory Listing
Modified Sun Sep 13 08:30:29 2009 UTC (5 years, 9 months ago) by wosc
py3: if stdout is wrapped, it throws an UnsupportedOperation: fileno()

Revision 103882 - Directory Listing
Modified Sun Sep 13 08:29:32 2009 UTC (5 years, 9 months ago) by wosc
py3: None can't be compared to int anymore

Revision 103881 - Directory Listing
Modified Sun Sep 13 08:28:45 2009 UTC (5 years, 9 months ago) by wosc
fix a typo (missing variable)

This branch of the code does not seem to be covered by our normal tests but showed up when running tests with py3 by accident.

Revision 103880 - Directory Listing
Modified Sun Sep 13 08:26:59 2009 UTC (5 years, 9 months ago) by wosc
py3: don't use a built-in name, so 2to3 does not get confused

Revision 103879 - Directory Listing
Modified Sun Sep 13 08:26:29 2009 UTC (5 years, 9 months ago) by wosc
respell a try/except (py3 compat)

Revision 103878 - Directory Listing
Modified Sun Sep 13 08:21:57 2009 UTC (5 years, 9 months ago) by wosc
backmerge from trunk

Revision 103876 - Directory Listing
Modified Sat Sep 12 17:36:01 2009 UTC (5 years, 9 months ago) by do3cc
Made it Python 2.6 compatible

Revision 103794 - Directory Listing
Modified Fri Sep 11 15:50:29 2009 UTC (5 years, 9 months ago) by faassen
Mark as part of the ZTK

Revision 103732 - Directory Listing
Modified Fri Sep 11 10:44:34 2009 UTC (5 years, 9 months ago) by wosc
support multiple features that find tests: merge multiple calls of register_tests() instead of overwriting.

Revision 103730 - Directory Listing
Modified Fri Sep 11 10:03:01 2009 UTC (5 years, 9 months ago) by wosc
branch to make the testrunner register doctest files automagically if the contain a marker for the DocTestCase to instantiate them with

Revision 103070 - Directory Listing
Modified Fri Aug 21 17:49:31 2009 UTC (5 years, 10 months ago) by gary
fix typo

Revision 102700 - Directory Listing
Modified Wed Aug 12 08:25:55 2009 UTC (5 years, 10 months ago) by gotcha
Back to development: 3.8.2dev

Revision 102698 - Directory Listing
Modified Wed Aug 12 08:20:17 2009 UTC (5 years, 10 months ago) by gotcha
Tagging 3.8.1

Revision 102697 - Directory Listing
Modified Wed Aug 12 08:16:29 2009 UTC (5 years, 10 months ago) by gotcha
Preparing release 3.8.1

Revision 102634 - Directory Listing
Modified Mon Aug 10 20:57:09 2009 UTC (5 years, 10 months ago) by gary
reduce batching and improve output for subprocesses

Revision 102626 - Directory Listing
Modified Mon Aug 10 13:44:36 2009 UTC (5 years, 10 months ago) by gotcha
Avoid to hardcode sys.argv[0] as script; 
allow for instance Zope 2 `bin/instance test` (LP#407916).


Revision 102460 - Directory Listing
Modified Mon Aug 3 17:39:46 2009 UTC (5 years, 11 months ago) by mgedmin
Produce a clear error message when subprocess doesn't follow the
zope.testing.testrunner protocol (LP#407916).


Revision 102410 - Directory Listing
Modified Fri Jul 31 22:41:11 2009 UTC (5 years, 11 months ago) by gotcha
* cleanup unused imports
* pep8

Revision 102409 - Directory Listing
Modified Fri Jul 31 22:35:34 2009 UTC (5 years, 11 months ago) by gotcha
nerr and nfail should be defined in case no value can be computed in following
loop

Revision 102374 - Directory Listing
Modified Thu Jul 30 09:58:35 2009 UTC (5 years, 11 months ago) by wosc
fix documentation to agree with the code

Revision 102213 - Directory Listing
Modified Fri Jul 24 08:37:31 2009 UTC (5 years, 11 months ago) by wosc
Back to development: 3.8.1dev

Revision 102212 - Directory Listing
Modified Fri Jul 24 08:36:36 2009 UTC (5 years, 11 months ago) by wosc
Tagging 3.8.0

Revision 102211 - Directory Listing
Modified Fri Jul 24 08:35:25 2009 UTC (5 years, 11 months ago) by wosc
Preparing release 3.8.0

Revision 102202 - Directory Listing
Modified Fri Jul 24 06:38:47 2009 UTC (5 years, 11 months ago) by wosc
when a test module does not define a test_suite, first try to load any unittest.TestCase descendants in it before complaining it does not contain any tests

Revision 101919 - Directory Listing
Modified Wed Jul 15 07:19:19 2009 UTC (5 years, 11 months ago) by icemac
added missing release date

Revision 101918 - Directory Listing
Modified Wed Jul 15 06:35:41 2009 UTC (5 years, 11 months ago) by ctheune
Bump version.

Revision 101917 - Directory Listing
Modified Wed Jul 15 06:34:24 2009 UTC (5 years, 11 months ago) by ctheune
Remove dev marker

Revision 101916 - Directory Listing
Modified Wed Jul 15 06:33:37 2009 UTC (5 years, 11 months ago) by ctheune
Create release tag for 3.7.7

Revision 101915 - Directory Listing
Modified Tue Jul 14 18:39:43 2009 UTC (5 years, 11 months ago) by ctheune
Also patch traceback.print_exception to enable doctests to include extended
traceback information.

Revision 101913 - Directory Listing
Modified Tue Jul 14 17:10:49 2009 UTC (5 years, 11 months ago) by ctheune
Missed an occurance where new output is generated after the last checkin (for
some reason Python 2.5.2 didn't produce this but 2.5.4 did).

Revision 101909 - Directory Listing
Modified Tue Jul 14 15:23:20 2009 UTC (5 years, 11 months ago) by ctheune
Clean up support for displaying tracebacks with supplements by turning it into
an always-enabled feature and making the dependency on zope.exceptions
explicit.

Revision 101495 - Directory Listing
Modified Sat Jul 4 10:23:50 2009 UTC (6 years ago) by ctheune
Fix #251759: Test runner descended into directories that aren't Python
packages.

Revision 101473 - Directory Listing
Modified Sat Jul 4 08:58:07 2009 UTC (6 years ago) by ctheune
Move runner attribute that was only used by the coverage plugin into the
plugin. Also note that the coverage plugin relies on knowledge about the way
the test finding process works.

Revision 101461 - Directory Listing
Modified Fri Jul 3 15:40:55 2009 UTC (6 years ago) by ctheune
Backmerge from trunk.

Revision 101395 - Directory Listing
Modified Thu Jul 2 13:52:01 2009 UTC (6 years ago) by ctheune
Bump version number.

Revision 101394 - Directory Listing
Modified Thu Jul 2 13:49:50 2009 UTC (6 years ago) by ctheune
Remove dev marker.

Revision 101393 - Directory Listing
Modified Thu Jul 2 13:48:11 2009 UTC (6 years ago) by ctheune
Tag release 3.7.6

Revision 101392 - Directory Listing
Modified Thu Jul 2 13:47:15 2009 UTC (6 years ago) by ctheune
Update release date.

Revision 101026 - Directory Listing
Modified Mon Jun 15 19:52:19 2009 UTC (6 years ago) by jinty
Add zope-testrunner console_scripts entry point. This exposes a
zope-testrunner binary with default installs allowing the testrunner to be
run from the command line.

http://mail.zope.org/pipermail/zope-dev/2009-June/036970.html

Revision 100729 - Directory Listing
Modified Mon Jun 8 07:00:31 2009 UTC (6 years ago) by icemac
Back to development: 3.7.6dev

Revision 100728 - Directory Listing
Modified Mon Jun 8 07:00:05 2009 UTC (6 years ago) by icemac
Tagging 3.7.5

Revision 100727 - Directory Listing
Modified Mon Jun 8 06:59:54 2009 UTC (6 years ago) by icemac
Preparing release 3.7.5

Revision 100726 - Directory Listing
Modified Mon Jun 8 06:58:30 2009 UTC (6 years ago) by icemac
- fixed spelling
- removed zpkg slug

Revision 100713 - Directory Listing
Modified Sun Jun 7 16:22:02 2009 UTC (6 years ago) by adamg
tab -> spaces

Revision 100712 - Directory Listing
Modified Sun Jun 7 16:19:44 2009 UTC (6 years ago) by adamg
make tests pass on win and linux at the same time
(merge of branch adamg-renormalizefix)

Revision 100711 - Directory Listing
Modified Sun Jun 7 16:12:57 2009 UTC (6 years ago) by adamg
passes again on win

Revision 100704 - Directory Listing
Modified Sun Jun 7 15:46:25 2009 UTC (6 years ago) by adamg
tests pass on linux

Revision 100696 - Directory Listing
Modified Sun Jun 7 15:27:10 2009 UTC (6 years ago) by adamg
tests pass on win, move to linux

Revision 100693 - Directory Listing
Modified Sun Jun 7 15:25:36 2009 UTC (6 years ago) by adamg
lets make this work on win+linux

Revision 100652 - Directory Listing
Modified Fri Jun 5 14:57:49 2009 UTC (6 years, 1 month ago) by wosc
Make readline work in pdb again when using doctest.

It was fine with python2.4, but it broke with 2.5, for background details see <http://bugs.python.org/issue5727>.

Unfortunately I don't know how to write a test that checks this behaviour.

Revision 100531 - Directory Listing
Modified Fri May 29 12:28:12 2009 UTC (6 years, 1 month ago) by wosc
The option REPORT_ONLY_FIRST_FAILURE (command line option "-1") is now respected even when a doctest declares its own REPORTING_FLAGS, such as REPORT_NDIFF.

Revision 99672 - Directory Listing
Modified Sat May 2 16:46:42 2009 UTC (6 years, 2 months ago) by benji_york
attempt to fix bug when running subprocesses on Windows; I don't have
a Windows box to test this with

Revision 99642 - Directory Listing
Modified Fri May 1 12:49:29 2009 UTC (6 years, 2 months ago) by benji_york
bump version; add release date for last tag

Revision 99641 - Directory Listing
Modified Fri May 1 12:47:36 2009 UTC (6 years, 2 months ago) by benji_york
- remove "dev" from version
- add release date for this tag (3.7.4)

Revision 99640 - Directory Listing
Modified Fri May 1 12:46:07 2009 UTC (6 years, 2 months ago) by benji_york
tag 3.7.4

Revision 99639 - Directory Listing
Modified Fri May 1 12:45:39 2009 UTC (6 years, 2 months ago) by benji_york
colorization of doctest output now correctly handles blank lines

Revision 99488 - Directory Listing
Modified Sat Apr 25 15:16:37 2009 UTC (6 years, 2 months ago) by icemac
Filenames of doctest examples now contain the line number and not only the example number. So a stack trace in pdb tells the exact line number of the current example. This fixes https://bugs.launchpad.net/bugs/339813

Revision 99448 - Directory Listing
Modified Fri Apr 24 06:48:42 2009 UTC (6 years, 2 months ago) by ctheune
Rename subprocess module to process to avoid name clash with a global Python
module.

Revision 99377 - Directory Listing
Modified Wed Apr 22 14:03:14 2009 UTC (6 years, 2 months ago) by ctheune
New changelog section.

Revision 99376 - Directory Listing
Modified Wed Apr 22 14:02:34 2009 UTC (6 years, 2 months ago) by ctheune
Version bump

Revision 99371 - Directory Listing
Modified Wed Apr 22 13:46:22 2009 UTC (6 years, 2 months ago) by ctheune
remove dev marker

Revision 99370 - Directory Listing
Modified Wed Apr 22 13:45:44 2009 UTC (6 years, 2 months ago) by ctheune
Create release tag.

Revision 99369 - Directory Listing
Modified Wed Apr 22 13:45:15 2009 UTC (6 years, 2 months ago) by ctheune
Update metadata.

Revision 99368 - Directory Listing
Modified Wed Apr 22 13:32:29 2009 UTC (6 years, 2 months ago) by ctheune
Fill in release date.

Revision 99367 - Directory Listing
Modified Wed Apr 22 13:31:18 2009 UTC (6 years, 2 months ago) by ctheune
Update changelog.

Revision 99366 - Directory Listing
Modified Wed Apr 22 13:26:42 2009 UTC (6 years, 2 months ago) by ctheune
Fix issue with handling rogue threads by always exiting with status. We
deprecated --with-exit-status but remain command-line compatible.

If you want to call the runner without exiting, you can call ``run_internal``
with the same arguments (as used in the tests now).

Revision 99353 - Directory Listing
Modified Tue Apr 21 20:10:24 2009 UTC (6 years, 2 months ago) by ctheune
Snapshot: pull in features using entry points. 

I think I'll revamp that again as the entry points are too generic to be
useful.

Revision 99313 - Directory Listing
Modified Mon Apr 20 11:52:54 2009 UTC (6 years, 2 months ago) by ctheune
Start working on support to provide pipeline plugins using entrypoints.

Revision 99159 - Directory Listing
Modified Mon Apr 13 19:36:57 2009 UTC (6 years, 2 months ago) by benji_york
version bump

Revision 99158 - Directory Listing
Modified Mon Apr 13 19:36:41 2009 UTC (6 years, 2 months ago) by benji_york
fix date in CHANGES.txt

svn merge -c99157 svn+ssh://svn.zope.org/repos/main/zope.testing/tags/3.7.2 .

Revision 99157 - Directory Listing
Modified Mon Apr 13 19:33:02 2009 UTC (6 years, 2 months ago) by benji_york
fix date; grrr

Revision 99156 - Directory Listing
Modified Mon Apr 13 19:27:43 2009 UTC (6 years, 2 months ago) by benji_york
remove "dev" from version

Revision 99155 - Directory Listing
Modified Mon Apr 13 19:27:20 2009 UTC (6 years, 2 months ago) by benji_york
tag 3.7.2

Revision 99153 - Directory Listing
Modified Mon Apr 13 16:52:22 2009 UTC (6 years, 2 months ago) by benji_york
remove flotsam

Revision 99151 - Directory Listing
Modified Mon Apr 13 15:43:40 2009 UTC (6 years, 2 months ago) by benji_york
- fix test failure on Python 2.4 because of slight difference in the way
  coverage is reported (__init__ files with only a single comment line are now
  not reported)
- fixed bug that caused the test runner to hang when running subprocesses (as a
  result Python 2.3 is no longer supported).
- there is apparently a bug in Python 2.6 (related to
  http://bugs.python.org/issue1303673) that causes the profile tests to fail.
- tests pass on Python 2.5
- added explanitory notes to buildout.cfg about how to run the tests with
  multiple versions of Python
- set trunk version to 3.7.2dev

Revision 98789 - Directory Listing
Modified Thu Apr 2 09:10:58 2009 UTC (6 years, 3 months ago) by ctheune
New major version: allow for new features.

Revision 98604 - Directory Listing
Modified Mon Mar 30 15:55:04 2009 UTC (6 years, 3 months ago) by regebro
Branch for looking into Python 3 support.

Revision 97900 - Directory Listing
Modified Wed Mar 11 16:32:43 2009 UTC (6 years, 3 months ago) by baijum
As 'setuptools' is a dependency 'pkg_resources' will be available always. Ref: http://mail.zope.org/pipermail/zope-dev/2009-March/035277.html

Revision 96603 - Directory Listing
Modified Mon Feb 16 19:56:41 2009 UTC (6 years, 4 months ago) by gary
make tests pass in Py 2.5.  one test still fails in 2.4.  add doctest fork tests to test suite.

Revision 96602 - Directory Listing
Modified Mon Feb 16 19:29:33 2009 UTC (6 years, 4 months ago) by ctheune
Back out my changes that I moved over to a branch.

Revision 96601 - Directory Listing
Modified Mon Feb 16 19:24:28 2009 UTC (6 years, 4 months ago) by ctheune
Move aside to a branch as I should have done in the first place.

Revision 95528 - Directory Listing
Modified Thu Jan 29 21:48:50 2009 UTC (6 years, 5 months ago) by ctheune
More tweaking of the heuristics, turn them into a simple rule
registration.

Revision 95526 - Directory Listing
Modified Thu Jan 29 20:18:38 2009 UTC (6 years, 5 months ago) by ctheune
Add another option (--indirect-source) to show only warnings originating
from select modules (and their sub-modules).

Revision 95408 - Directory Listing
Modified Thu Jan 29 11:23:03 2009 UTC (6 years, 5 months ago) by ctheune
- Ignore doctest-caused indirect imports.
- Use the module's id for caching the wrappers.

Revision 95402 - Directory Listing
Modified Thu Jan 29 10:36:47 2009 UTC (6 years, 5 months ago) by ctheune
Make the import hook doctest compatible by allowing globals of a module
to be copied.

Revision 95313 - Directory Listing
Modified Wed Jan 28 13:55:39 2009 UTC (6 years, 5 months ago) by ctheune
Added import checker that warns when re-importing symbols and not
getting them from their original location, applying some heuristics to
filter out regular re-import scenarios.

Revision 94696 - Directory Listing
Modified Mon Jan 12 13:48:06 2009 UTC (6 years, 5 months ago) by mgedmin
Update version number to an unreleased -dev version.

3.7.1 is the latest release on PyPI, as well as the last one mentioned in
CHANGES.txt.


Revision 94695 - Directory Listing
Modified Mon Jan 12 13:45:13 2009 UTC (6 years, 5 months ago) by mgedmin
Update README:

  * mention the rest of the modules in the zope.testing package.

  * add see-also "links" to those that have their own documentation

  * zope.testing.testrunner is a package rather than a single module these
  * days.


Revision 93884 - Directory Listing
Modified Thu Dec 11 07:16:06 2008 UTC (6 years, 6 months ago) by rogerineichen
remove bad externals
the external was pointing to:
testing svn://svn.zope.org/repos/main/Zope3/tags/3.4.0a1/src/zope/testing
which doesn't exist. The external must be an error because the package itself provides the source for testing by itself.
There is now way to use externals here. Anyway since this external doesn't use a revision number it must be wrong.
I guess this was coming from moving the packages from Zope3/tags to zope.testing as top level package

Revision 93883 - Directory Listing
Modified Thu Dec 11 06:52:59 2008 UTC (6 years, 6 months ago) by rogerineichen
Can't checkout a tag for 3.4.0a1, try to cleanup,
remove empty svn:externals property

Revision 92345 - Directory Listing
Modified Fri Oct 17 20:10:50 2008 UTC (6 years, 8 months ago) by jim
Updated version #

Revision 92344 - Directory Listing
Modified Fri Oct 17 20:06:46 2008 UTC (6 years, 8 months ago) by jim
tag

Revision 92341 - Directory Listing
Modified Fri Oct 17 18:26:55 2008 UTC (6 years, 8 months ago) by jim
Updated changes.

Revision 92340 - Directory Listing
Modified Fri Oct 17 18:23:57 2008 UTC (6 years, 8 months ago) by jim
More carefully remove temporary directories to deal with read-only files on windows

Revision 91335 - Directory Listing
Modified Mon Sep 22 13:35:05 2008 UTC (6 years, 9 months ago) by tseaver
Merged.

Revision 91334 - Directory Listing
Modified Mon Sep 22 13:34:40 2008 UTC (6 years, 9 months ago) by tseaver
Tag 3.7.0 release.

Revision 91333 - Directory Listing
Modified Mon Sep 22 13:33:53 2008 UTC (6 years, 9 months ago) by tseaver
Prep 3.7.0 release.

Revision 91331 - Directory Listing
Modified Mon Sep 22 13:31:26 2008 UTC (6 years, 9 months ago) by tseaver
Merge tseaver-eggsupport branch:

- Added an alterate setuptools / distutils commands for running all tests
  using our testrunner.  See 'zope.testing.testrunner.eggsupport:ftest'.

- Added a setuptools-compatible test loader which skips tests with layers:
  the testrunner used by 'setup.py test' doesn't know about them, and those
  tests then fail.  See 'zope.testing.testrunner.eggsupport:SkipLayers'.

- Split out changelog from README.txt.


Revision 91272 - Directory Listing
Modified Fri Sep 19 14:32:44 2008 UTC (6 years, 9 months ago) by tseaver
- Added an alterate setuptools / distutils commands for running all tests
  using our testrunner.  See 'zope.testing.testrunner.eggsupport:ftest'.

- Added a setuptools-compatible test loader which skips tests with layers:
  the testrunner used by 'setup.py test' doesn't know about them, and those
  tests then fail.  See 'zope.testing.testrunner.eggsupport:SkipLayers'.

- Split out changelog from README.txt.

Revision 91271 - Directory Listing
Modified Fri Sep 19 14:31:30 2008 UTC (6 years, 9 months ago) by tseaver
Split out changelog, note new feature release.

Revision 91270 - Directory Listing
Modified Fri Sep 19 14:31:07 2008 UTC (6 years, 9 months ago) by tseaver
Split out changelog.

Revision 91269 - Directory Listing
Modified Fri Sep 19 14:30:01 2008 UTC (6 years, 9 months ago) by tseaver
Branch for eggsupport work.

Revision 90512 - Directory Listing
Modified Wed Aug 27 23:54:08 2008 UTC (6 years, 10 months ago) by georgyberdyshev
Updated log.

Signed-off-by: Georgy Berdyshev - Георгий Бердышев <codingmaster@gmail.com>

Revision 90511 - Directory Listing
Modified Wed Aug 27 23:54:06 2008 UTC (6 years, 10 months ago) by georgyberdyshev
Added a workaround for Jython to support a gargabe collector call.

Signed-off-by: Georgy Berdyshev - Георгий Бердышев <codingmaster@gmail.com>

Revision 90510 - Directory Listing
Modified Wed Aug 27 23:54:02 2008 UTC (6 years, 10 months ago) by georgyberdyshev
Updated log.

Signed-off-by: Georgy Berdyshev - Георгий Бердышев <codingmaster@gmail.com>

Revision 90509 - Directory Listing
Modified Wed Aug 27 23:54:00 2008 UTC (6 years, 10 months ago) by georgyberdyshev
Added support to bootstrap on Jython.

Signed-off-by: Georgy Berdyshev - Георгий Бердышев <codingmaster@gmail.com>

Revision 90409 - Directory Listing
Modified Wed Aug 27 08:09:11 2008 UTC (6 years, 10 months ago) by srichter
version bump.

Revision 90408 - Directory Listing
Modified Wed Aug 27 08:03:53 2008 UTC (6 years, 10 months ago) by srichter
Create a release tag.

Revision 90405 - Directory Listing
Modified Wed Aug 27 07:53:20 2008 UTC (6 years, 10 months ago) by srichter
Get ready for release.

Revision 90403 - Directory Listing
Modified Wed Aug 27 07:50:47 2008 UTC (6 years, 10 months ago) by srichter
Ported revision 90401 from the trunk.

Revision 90401 - Directory Listing
Modified Wed Aug 27 07:41:00 2008 UTC (6 years, 10 months ago) by srichter
- Open doctest files in universal mode, so that packages released in Windoes
  can be tested in Linux, for example.

- Fixed failing test in testrunner-coverage.txt.
--This line, and those 
below, 
will be ignored--

AM   src/zope/testing/doctest.txt
M    src/zope/testing/tests.py
M    src/zope/testing/doctest.py
M    src/zope/testing/testrunner/testrunner-coverage.txt
M    README.txt

Revision 90391 - Directory Listing
Modified Wed Aug 27 05:02:51 2008 UTC (6 years, 10 months ago) by mgedmin
Post-release version bump.


Revision 90390 - Directory Listing
Modified Wed Aug 27 05:02:25 2008 UTC (6 years, 10 months ago) by mgedmin
Release zope.testing 3.5.5.


Revision 90389 - Directory Listing
Modified Wed Aug 27 05:02:09 2008 UTC (6 years, 10 months ago) by mgedmin
Prepare to release zope.testing 3.5.5.


Revision 90383 - Directory Listing
Modified Wed Aug 27 04:45:31 2008 UTC (6 years, 10 months ago) by mgedmin
Launchpad #261734: include the unit test time in the total time reported.


Revision 90375 - Directory Listing
Modified Wed Aug 27 04:28:33 2008 UTC (6 years, 10 months ago) by mgedmin
Belated post-release version bump.


Revision 90220 - Directory Listing
Modified Mon Aug 25 15:11:29 2008 UTC (6 years, 10 months ago) by rogerineichen
- let the coverage feature start earlier then the find feature
- adjust test coverage test

Revision 89915 - Directory Listing
Modified Sat Aug 16 16:37:34 2008 UTC (6 years, 10 months ago) by chrisw
- make doctest for StartUpFailure more understandable
- add test for StartUpFailure being returned when postmortem debugging is enabled by no traceback is supplied *sigh*

Revision 89914 - Directory Listing
Modified Sat Aug 16 15:49:38 2008 UTC (6 years, 10 months ago) by chrisw
Fix one of the sources of failures on windows.
Christians owe beer for not running tests on an operating system he doesn't use once he'd refactored ;-)

Revision 89786 - Directory Listing
Modified Wed Aug 13 08:21:57 2008 UTC (6 years, 10 months ago) by icemac
added missing test for post mortem debugging in StartUpFailure

Revision 89166 - Directory Listing
Modified Fri Aug 1 17:21:08 2008 UTC (6 years, 11 months ago) by mgedmin
Releasing zope.testing 3.5.4.


Revision 89165 - Directory Listing
Modified Fri Aug 1 17:20:24 2008 UTC (6 years, 11 months ago) by mgedmin
Preparing to release zope.testing 3.5.4.


Revision 89164 - Directory Listing
Modified Fri Aug 1 17:16:10 2008 UTC (6 years, 11 months ago) by mgedmin
Fix LP#253959: in some invoking running the test runner from inside a
test case could cause problems with layers.


Revision 89162 - Directory Listing
Modified Fri Aug 1 16:28:54 2008 UTC (6 years, 11 months ago) by mgedmin
Update changelog.


Revision 89161 - Directory Listing
Modified Fri Aug 1 16:28:05 2008 UTC (6 years, 11 months ago) by mgedmin
Those features got released with 3.5.1 (probably by accident).


Revision 89132 - Directory Listing
Modified Fri Aug 1 12:30:25 2008 UTC (6 years, 11 months ago) by mgedmin
Provide better diagnostics when layer_from_name() fails.

Backported r89123 from trunk.


Revision 89130 - Directory Listing
Modified Fri Aug 1 12:26:21 2008 UTC (6 years, 11 months ago) by mgedmin
Added the last missing test file from the patch
http://launchpadlibrarian.net/15574471/zope.testing.patch


Revision 89123 - Directory Listing
Modified Fri Aug 1 12:01:51 2008 UTC (6 years, 11 months ago) by mgedmin
Provide better diagnostics when layer_from_name() fails.

I wish I could write a unit test for this, but so far I can only reproduce it
by running all of the Zope 3.4 KGS tests, and even then I get this error on
only three buildbot slaves out of four.


Revision 89119 - Directory Listing
Modified Fri Aug 1 11:47:23 2008 UTC (6 years, 11 months ago) by mgedmin
Remove redundant global declaration.

_layer_name_cache is never assigned in this function, so it's considered to be
a global already.


Revision 89118 - Directory Listing
Modified Fri Aug 1 11:43:28 2008 UTC (6 years, 11 months ago) by mgedmin
Allow people to try out the test runner with

  python -m zope.testing.testrunner --test-path .


Revision 89117 - Directory Listing
Modified Fri Aug 1 09:52:16 2008 UTC (6 years, 11 months ago) by icemac
Fixed NameError in StartUpFailure.

Revision 88283 - Directory Listing
Modified Sat Jul 12 12:13:49 2008 UTC (6 years, 11 months ago) by benji_york
branch to work on an optimization idea

Revision 88282 - Directory Listing
Modified Sat Jul 12 12:13:13 2008 UTC (6 years, 11 months ago) by benji_york
checkpoint failed idea

Revision 88281 - Directory Listing
Modified Sat Jul 12 10:45:38 2008 UTC (6 years, 11 months ago) by benji_york
checkpoint; tests pass

Revision 88280 - Directory Listing
Modified Sat Jul 12 10:45:10 2008 UTC (6 years, 11 months ago) by benji_york
branch to see if the test runner can be sped up a bit

Revision 88279 - Directory Listing
Modified Sat Jul 12 10:44:45 2008 UTC (6 years, 11 months ago) by benji_york
remove no longer needed branch

Revision 88248 - Directory Listing
Modified Fri Jul 11 11:38:40 2008 UTC (6 years, 11 months ago) by benji_york
fix bug fix grouping in release notes

Revision 88232 - Directory Listing
Modified Fri Jul 11 02:47:15 2008 UTC (6 years, 11 months ago) by fdrake
de-devify

Revision 88231 - Directory Listing
Modified Fri Jul 11 02:46:12 2008 UTC (6 years, 11 months ago) by fdrake
update trunk version

Revision 88230 - Directory Listing
Modified Fri Jul 11 02:45:39 2008 UTC (6 years, 11 months ago) by fdrake
tag release 3.6.0

Revision 88229 - Directory Listing
Modified Fri Jul 11 02:44:04 2008 UTC (6 years, 11 months ago) by fdrake
be pro-active in asserting ignorability

Revision 88227 - Directory Listing
Modified Fri Jul 11 02:40:45 2008 UTC (6 years, 11 months ago) by fdrake
set release date

Revision 88226 - Directory Listing
Modified Fri Jul 11 02:32:06 2008 UTC (6 years, 11 months ago) by benji_york
add -j option and bug fix to release notes

Revision 88225 - Directory Listing
Modified Fri Jul 11 02:29:26 2008 UTC (6 years, 11 months ago) by benji_york
- merge benji-parallelize-subprocesses branch:
  - adds -j option that causes subprocesses to be run in parallel (first test
    is not run in a subprocess, so isn't parallelized)
- also fixes bug that causes the unit test layer to be skipped if run in a
  subprocess

Revision 88224 - Directory Listing
Modified Fri Jul 11 02:14:34 2008 UTC (6 years, 11 months ago) by benji_york
fix bug where default arguments were sometime ignored

Revision 88223 - Directory Listing
Modified Fri Jul 11 02:09:08 2008 UTC (6 years, 11 months ago) by benji_york
fix bug where default arguments were sometime ignored

Revision 88222 - Directory Listing
Modified Fri Jul 11 02:08:13 2008 UTC (6 years, 11 months ago) by benji_york
fix long line

Revision 88221 - Directory Listing
Modified Fri Jul 11 01:56:33 2008 UTC (6 years, 11 months ago) by benji_york
work around bug in the way default options are handled; fix will hopefully soon
appear on the trunk

Revision 88220 - Directory Listing
Modified Fri Jul 11 01:54:48 2008 UTC (6 years, 11 months ago) by benji_york
tweak the test for handling spurious output on stderr

Revision 88106 - Directory Listing
Modified Tue Jul 8 12:17:30 2008 UTC (6 years, 11 months ago) by benji_york
add note about recently fixed bug

Revision 88098 - Directory Listing
Modified Tue Jul 8 06:17:26 2008 UTC (6 years, 11 months ago) by andreasjung
'creating tag svn+ssh://andreasjung@svn.zope.org/repos/main/zope.testing/tags/3.5.3 from svn+ssh://andreasjung@svn.zope.org/repos/main/zope.testing/branches/3.5'

Revision 88097 - Directory Listing
Modified Tue Jul 8 06:17:10 2008 UTC (6 years, 11 months ago) by andreasjung
committed missing tests from the patch:
http://launchpadlibrarian.net/15574471/zope.testing.patch

Revision 88096 - Directory Listing
Modified Tue Jul 8 06:12:45 2008 UTC (6 years, 11 months ago) by andreasjung
added new dir forgotten while applying 
http://launchpadlibrarian.net/15574471/zope.testing.patch


Revision 88057 - Directory Listing
Modified Sun Jul 6 06:34:51 2008 UTC (7 years ago) by andreasjung
open for 3.5.3-dev

Revision 88056 - Directory Listing
Modified Sun Jul 6 06:34:34 2008 UTC (7 years ago) by andreasjung
'creating tag svn+ssh://andreasjung@svn.zope.org/repos/main/zope.testing/tags/3.5.2 from svn+ssh://andreasjung@svn.zope.org/repos/main/zope.testing/branches/3.5'

Revision 88055 - Directory Listing
Modified Sun Jul 6 06:34:08 2008 UTC (7 years ago) by andreasjung
Launchpad #242851: applied patch for package normalization

Revision 88050 - Directory Listing
Modified Sun Jul 6 00:20:20 2008 UTC (7 years ago) by benji_york
merge bug fix from trunk:
    svn merge -c88047 svn+ssh://svn.zope.org/repos/main/zope.testing/trunk .

Revision 88049 - Directory Listing
Modified Sun Jul 6 00:11:03 2008 UTC (7 years ago) by benji_york
- add test for running subprocesses in parallel
- make output ordered the same whether running parallel subprocesses or not

Revision 88048 - Directory Listing
Modified Sun Jul 6 00:06:23 2008 UTC (7 years ago) by benji_york
fix whitespace

Revision 88047 - Directory Listing
Modified Sun Jul 6 00:04:36 2008 UTC (7 years ago) by benji_york
Fix a bug that caused a SubprocessError to be generated if a subprocess
sent any output to stderr (deprecation warnings are a common cause).

Revision 88045 - Directory Listing
Modified Sat Jul 5 20:36:40 2008 UTC (7 years ago) by benji_york
fix a bug in a bug fix that caused anything written to stderr by a test
to be swallowed; needs tests

Revision 88044 - Directory Listing
Modified Sat Jul 5 19:21:00 2008 UTC (7 years ago) by benji_york
simplyfy code a little; no need for a queue, a list will do since
list.append is thread-safe

Revision 88042 - Directory Listing
Modified Sat Jul 5 18:28:26 2008 UTC (7 years ago) by benji_york
fix bug that causes the unit test layer to be skipped if run in a subprocess
(inherited from the trunk, needs tests)

Revision 88029 - Directory Listing
Modified Sat Jul 5 00:59:12 2008 UTC (7 years ago) by benji_york
fix a bug (inherited from the trunk) that causes any subprocesses that generate
output on stderr to report an error (and not have their successes, failure,
etc. counted); needs tests

Revision 88005 - Directory Listing
Modified Fri Jul 4 14:46:56 2008 UTC (7 years ago) by benji_york
restore previous lack of whitespace

Revision 88004 - Directory Listing
Modified Fri Jul 4 14:46:12 2008 UTC (7 years ago) by benji_york
remove commented-out code

Revision 88003 - Directory Listing
Modified Fri Jul 4 14:35:16 2008 UTC (7 years ago) by benji_york
checkpoint: all tests pass but had to temporarily disable unit-tests-first
functionality

Revision 87998 - Directory Listing
Modified Fri Jul 4 13:45:39 2008 UTC (7 years ago) by benji_york
checkpoint

Revision 87944 - Directory Listing
Modified Thu Jul 3 04:01:49 2008 UTC (7 years ago) by benji_york
checkpoint

Revision 87943 - Directory Listing
Modified Thu Jul 3 00:38:39 2008 UTC (7 years ago) by benji_york
checkpoint

Revision 87942 - Directory Listing
Modified Thu Jul 3 00:38:16 2008 UTC (7 years ago) by benji_york
branch to work on running layers in parallel

Revision 87933 - Directory Listing
Modified Wed Jul 2 19:25:20 2008 UTC (7 years ago) by benji_york
fix test failure -- I'm not sure when this began failing or why.  I changed the
expected output such that either the old or new output should pass the test.

Revision 87775 - Directory Listing
Modified Wed Jun 25 20:53:43 2008 UTC (7 years ago) by faassen
Add a doctest for zope.testing.module, so that people know what it is
about, and to fix a few bugs.

Revision 87193 - Directory Listing
Modified Fri Jun 6 14:00:28 2008 UTC (7 years, 1 month ago) by ctheune
- Fix dependency that I forgot to add/checkin at some point.

Revision 87192 - Directory Listing
Modified Fri Jun 6 13:57:20 2008 UTC (7 years, 1 month ago) by ctheune
more experimental stuff, mostly non working. this is a snapshot.

Revision 86461 - Directory Listing
Modified Mon May 5 18:51:06 2008 UTC (7 years, 2 months ago) by ctheune
bumping release number

Revision 86460 - Directory Listing
Modified Mon May 5 18:50:48 2008 UTC (7 years, 2 months ago) by ctheune
Merge of my 'ctheune-cleanup' branch.

Revision 86459 - Directory Listing
Modified Mon May 5 18:40:37 2008 UTC (7 years, 2 months ago) by ctheune
Creating 3.5 maintenance branch

Revision 86458 - Directory Listing
Modified Mon May 5 18:38:06 2008 UTC (7 years, 2 months ago) by ctheune
update setup.py to reflect moved doctest files

Revision 86435 - Directory Listing
Modified Mon May 5 08:13:05 2008 UTC (7 years, 2 months ago) by ctheune
branching off for some experiments with output and reporting

Revision 86428 - Directory Listing
Modified Sun May 4 22:01:43 2008 UTC (7 years, 2 months ago) by ctheune
Made unit tests be run from a normal layer.

Revision 86416 - Directory Listing
Modified Sun May 4 19:30:51 2008 UTC (7 years, 2 months ago) by ctheune
Moved timings to more general statistics feature which is also responsible to
report the total ran tests summary.

Revision 86412 - Directory Listing
Modified Sun May 4 19:07:31 2008 UTC (7 years, 2 months ago) by ctheune
remove debugging code again

Revision 86411 - Directory Listing
Modified Sun May 4 19:02:58 2008 UTC (7 years, 2 months ago) by ctheune
moved filtering of functional layers using --resume-layer and --layer to the
filter feature

Revision 86408 - Directory Listing
Modified Sun May 4 16:54:31 2008 UTC (7 years, 2 months ago) by ctheune
Moved out total reporting to the filter feature.

Revision 86404 - Directory Listing
Modified Sun May 4 16:32:34 2008 UTC (7 years, 2 months ago) by ctheune
Moved some of the subprocess management into its own feature.

Revision 86399 - Directory Listing
Modified Sun May 4 16:23:35 2008 UTC (7 years, 2 months ago) by ctheune
Moved the listing into its own feature and made it a report.

Revision 86392 - Directory Listing
Modified Sun May 4 15:47:13 2008 UTC (7 years, 2 months ago) by ctheune
started moving out filtering tests away into its own feature

Revision 86369 - Directory Listing
Modified Sun May 4 13:26:17 2008 UTC (7 years, 2 months ago) by ctheune
Moved out finding of tests into its own feature.

Revision 86359 - Directory Listing
Modified Sun May 4 12:58:48 2008 UTC (7 years, 2 months ago) by ctheune
Removed now superfluous setup/teardown methods.

Revision 86358 - Directory Listing
Modified Sun May 4 12:57:40 2008 UTC (7 years, 2 months ago) by ctheune
Moved garbage collection debug setup to its own feature.

Revision 86356 - Directory Listing
Modified Sun May 4 12:53:09 2008 UTC (7 years, 2 months ago) by ctheune
Moved configuration of garbage collection threshold to its own feature.

Revision 86354 - Directory Listing
Modified Sun May 4 12:43:07 2008 UTC (7 years, 2 months ago) by ctheune
removed temporary hack for late initialization/early teardown

Revision 86352 - Directory Listing
Modified Sun May 4 12:41:50 2008 UTC (7 years, 2 months ago) by ctheune
Moved time measurements into their own feature.

Revision 86351 - Directory Listing
Modified Sun May 4 12:37:38 2008 UTC (7 years, 2 months ago) by ctheune
Moved profiling into its own feature.

Revision 86344 - Directory Listing
Modified Sun May 4 12:16:41 2008 UTC (7 years, 2 months ago) by ctheune
Moved the self-test support out to its own feature.


Revision 86341 - Directory Listing
Modified Sun May 4 12:06:43 2008 UTC (7 years, 2 months ago) by ctheune
Moved logging to its own feature.

Revision 86339 - Directory Listing
Modified Sun May 4 11:51:12 2008 UTC (7 years, 2 months ago) by ctheune
Factored out doctest flag setup into its own feature.

Revision 86335 - Directory Listing
Modified Sun May 4 11:02:53 2008 UTC (7 years, 2 months ago) by ctheune
Move coverage analysis out as its own feature.

Revision 86329 - Directory Listing
Modified Sun May 4 10:40:50 2008 UTC (7 years, 2 months ago) by ctheune
Moving slowly to a pluggable approach for features

Revision 86325 - Directory Listing
Modified Sun May 4 10:20:55 2008 UTC (7 years, 2 months ago) by ctheune
move finding tests into separate method


Revision 86322 - Directory Listing
Modified Sun May 4 10:08:27 2008 UTC (7 years, 2 months ago) by ctheune
move reporting to its own method

Revision 86321 - Directory Listing
Modified Sun May 4 09:13:00 2008 UTC (7 years, 2 months ago) by ctheune
moved doctest setup/shutdown to the feature setup/shutdown phase

Revision 86320 - Directory Listing
Modified Sun May 4 09:09:09 2008 UTC (7 years, 2 months ago) by ctheune
moved gc shutdown to the shutdown phase

Revision 86319 - Directory Listing
Modified Sun May 4 09:04:38 2008 UTC (7 years, 2 months ago) by ctheune
Move garbage collection to the feature setup phase.

Revision 86307 - Directory Listing
Modified Sat May 3 22:14:32 2008 UTC (7 years, 2 months ago) by ctheune
prepare the run_tests method to be split into find/run

Revision 86306 - Directory Listing
Modified Sat May 3 22:12:04 2008 UTC (7 years, 2 months ago) by ctheune
move test discovery before late initialisation so that profilers don't profile
the test runner code.

Revision 86305 - Directory Listing
Modified Sat May 3 22:10:28 2008 UTC (7 years, 2 months ago) by ctheune
Avoid instrumenting an internal API in preparation for the next refactoring.

Revision 86294 - Directory Listing
Modified Sat May 3 20:40:18 2008 UTC (7 years, 2 months ago) by ctheune
push EndRun exception a bit down to make the `run` method a bit more
straight-forward

Revision 86289 - Directory Listing
Modified Sat May 3 20:23:57 2008 UTC (7 years, 2 months ago) by ctheune
move process exit out to the `main` function

Revision 86288 - Directory Listing
Modified Sat May 3 20:21:53 2008 UTC (7 years, 2 months ago) by ctheune
finally move out the setup and teardown code to the separate methods

Revision 86266 - Directory Listing
Modified Sat May 3 18:50:38 2008 UTC (7 years, 2 months ago) by ctheune
moving setup and teardown of coverage analysis and profiling to the
corresponding methods

Revision 86265 - Directory Listing
Modified Sat May 3 18:44:37 2008 UTC (7 years, 2 months ago) by ctheune
remove local reference for options object

Revision 86263 - Directory Listing
Modified Sat May 3 18:40:03 2008 UTC (7 years, 2 months ago) by ctheune
remove local reference to output

Revision 86261 - Directory Listing
Modified Sat May 3 18:06:08 2008 UTC (7 years, 2 months ago) by ctheune
refactored reporting flags

Revision 86260 - Directory Listing
Modified Sat May 3 18:03:29 2008 UTC (7 years, 2 months ago) by ctheune
moving more configuration code out

Revision 86259 - Directory Listing
Modified Sat May 3 17:57:44 2008 UTC (7 years, 2 months ago) by ctheune
rebound some local variables, moving to factor out the config code

Revision 86254 - Directory Listing
Modified Sat May 3 16:36:53 2008 UTC (7 years, 2 months ago) by ctheune
Moved the code to actually find and run tests into the runner class.

Revision 86252 - Directory Listing
Modified Sat May 3 16:12:17 2008 UTC (7 years, 2 months ago) by ctheune
Refactored the run method into a class as preparation for more restructuring.


Revision 86251 - Directory Listing
Modified Sat May 3 16:04:53 2008 UTC (7 years, 2 months ago) by ctheune
order imports

Revision 86250 - Directory Listing
Modified Sat May 3 16:04:27 2008 UTC (7 years, 2 months ago) by ctheune
Moved reference count support to its own module.

Cleared up imports in __init__.py

Revision 86246 - Directory Listing
Modified Sat May 3 15:54:02 2008 UTC (7 years, 2 months ago) by ctheune
removed unused function

Revision 86245 - Directory Listing
Modified Sat May 3 15:52:56 2008 UTC (7 years, 2 months ago) by ctheune
Moved actual test execution code to its own module.

Revision 86232 - Directory Listing
Modified Sat May 3 15:09:33 2008 UTC (7 years, 2 months ago) by ctheune
factored option parsing / cmdline UI into its own module

Revision 86231 - Directory Listing
Modified Sat May 3 15:03:27 2008 UTC (7 years, 2 months ago) by ctheune
Factor discovery of finding tests to separate module.

Revision 86223 - Directory Listing
Modified Sat May 3 14:36:04 2008 UTC (7 years, 2 months ago) by ctheune
Separate out code coverage support to its own module.

Revision 86219 - Directory Listing
Modified Sat May 3 14:20:42 2008 UTC (7 years, 2 months ago) by ctheune
moved profilers to out to another module

Revision 86218 - Directory Listing
Modified Sat May 3 14:17:26 2008 UTC (7 years, 2 months ago) by ctheune
remove superfluous comment about zope.testing referencing itself ...

Revision 86217 - Directory Listing
Modified Sat May 3 14:16:48 2008 UTC (7 years, 2 months ago) by ctheune
moved the test setup for the test runner to its own module

Revision 86216 - Directory Listing
Modified Sat May 3 14:09:07 2008 UTC (7 years, 2 months ago) by ctheune
removed unnecessarily delayed import

Revision 86215 - Directory Listing
Modified Sat May 3 14:08:12 2008 UTC (7 years, 2 months ago) by ctheune
remove unused code. the testrunner is only supposed to be called from a
wrapper script by now.


Revision 86214 - Directory Listing
Modified Sat May 3 14:06:18 2008 UTC (7 years, 2 months ago) by ctheune
- Moved the actual formatter definitions to its own file.
- Fix the way the test runner calls itself: don't use __file__ but use the
  original sys.argv[0].

Revision 86207 - Directory Listing
Modified Sat May 3 13:25:02 2008 UTC (7 years, 2 months ago) by ctheune
Moved the testrunner into its own package and moved the tests along.


Revision 86206 - Directory Listing
Modified Sat May 3 13:24:29 2008 UTC (7 years, 2 months ago) by ctheune
Trying to refactor the test runner a bit to make it more readable.

Revision 85079 - Directory Listing
Modified Thu Apr 3 13:55:22 2008 UTC (7 years, 3 months ago) by benji_york
whitespace fix

Revision 84340 - Directory Listing
Modified Wed Feb 27 16:51:46 2008 UTC (7 years, 4 months ago) by fdrake
fix minor typo

Revision 78823 - Directory Listing
Modified Tue Aug 14 22:21:54 2007 UTC (7 years, 10 months ago) by jim
tagged

Revision 78822 - Directory Listing
Modified Tue Aug 14 22:20:57 2007 UTC (7 years, 10 months ago) by jim
hacked around unicode problem in long description.

Revision 78821 - Directory Listing
Modified Tue Aug 14 22:11:05 2007 UTC (7 years, 10 months ago) by jim
Fixed bug: post-mortem debugging wasn't working for errors in layer
setup.

Revision 78300 - Directory Listing
Modified Mon Jul 23 21:40:12 2007 UTC (7 years, 11 months ago) by mgedmin
Make --auto-color actually check whether the terminal supports colors.  Some
terminals don't (e.g. the emacs built-in one), which makes some people (e.g.
my coworker Albertas) unhappy when --auto-color is present in the test script.


Revision 78271 - Directory Listing
Modified Sat Jul 21 18:59:16 2007 UTC (7 years, 11 months ago) by mgedmin
Typo.


Revision 78270 - Directory Listing
Modified Sat Jul 21 18:58:31 2007 UTC (7 years, 11 months ago) by mgedmin
Added --auto-progress and --no-progress options, similar to --auto-color
and --no-color.

It makes sense to enable --progress only when the output is a terminal, just
like it makes sense to enable --color only when the output is a terminal.


Revision 78260 - Directory Listing
Modified Sat Jul 21 10:05:29 2007 UTC (7 years, 11 months ago) by mgedmin
Make RENormalizer also accept plain Python callables.


Revision 78256 - Directory Listing
Modified Sat Jul 21 09:22:18 2007 UTC (7 years, 11 months ago) by mgedmin
Highlight test timings, using a different color for very slow tests.


Revision 78255 - Directory Listing
Modified Sat Jul 21 09:10:48 2007 UTC (7 years, 11 months ago) by mgedmin
Explicitly show that --auto-color checks isatty().


Revision 78254 - Directory Listing
Modified Sat Jul 21 09:07:29 2007 UTC (7 years, 11 months ago) by mgedmin
Highlight the different sections in the test.


Revision 78158 - Directory Listing
Modified Thu Jul 19 15:18:19 2007 UTC (7 years, 11 months ago) by fdrake
bump version; setup.py should always contain the next stable release number

Revision 78157 - Directory Listing
Modified Thu Jul 19 15:01:58 2007 UTC (7 years, 11 months ago) by fdrake
3.5.0 release

Revision 78156 - Directory Listing
Modified Thu Jul 19 14:55:59 2007 UTC (7 years, 11 months ago) by fdrake
bump the version number since there have been features added,
and the 3.4-r78109 is newer than 3.4; this is an insanity-avoidance
bump as much as anything

Revision 78154 - Directory Listing
Modified Thu Jul 19 14:14:33 2007 UTC (7 years, 11 months ago) by mgedmin
For large test suites "25 minutes 3 seconds" is easier to understand than "1503
seconds".


Revision 78153 - Directory Listing
Modified Thu Jul 19 13:41:48 2007 UTC (7 years, 11 months ago) by mgedmin
Refactor time formatting into a function that's reused.  A side effect is that
all times are now colorized with -c (which I planned to do eventually).


Revision 78117 - Directory Listing
Modified Wed Jul 18 15:41:48 2007 UTC (7 years, 11 months ago) by mgedmin
Show the list of tests with errors/failures at a smaller verbosity level.


Revision 78116 - Directory Listing
Modified Wed Jul 18 15:25:57 2007 UTC (7 years, 11 months ago) by mgedmin
Fix some typos.


Revision 78115 - Directory Listing
Modified Wed Jul 18 15:18:50 2007 UTC (7 years, 11 months ago) by mgedmin
Fix up indentation (I assume it was left strange to minimize the diff in some
previous commit).


Revision 78114 - Directory Listing
Modified Wed Jul 18 15:17:51 2007 UTC (7 years, 11 months ago) by mgedmin
Fix failure in testrunner-layer-api.txt: ``args`` can be None at this point.


Revision 78109 - Directory Listing
Modified Wed Jul 18 14:19:15 2007 UTC (7 years, 11 months ago) by benji_york
fix bug that kept --auto-color from working when it is specified as a default
argument; I /think/ I've figured out how to test this; perhaps later

Revision 78107 - Directory Listing
Modified Wed Jul 18 13:22:54 2007 UTC (7 years, 11 months ago) by benji_york
fix broken --auto-color handling; options are processed differently than I
expected.  One problem, I couldn't figure out an automated way of testing this,
suggestions accepted

Revision 78106 - Directory Listing
Modified Wed Jul 18 13:21:52 2007 UTC (7 years, 11 months ago) by benji_york
whitespace fixes

Revision 78022 - Directory Listing
Modified Mon Jul 16 07:59:18 2007 UTC (7 years, 11 months ago) by benji_york
add --auto-color option

Revision 78018 - Directory Listing
Modified Mon Jul 16 06:51:10 2007 UTC (7 years, 11 months ago) by benji_york
add options to disable colorized output: --no-color and -C

Revision 78006 - Directory Listing
Modified Sun Jul 15 15:41:55 2007 UTC (7 years, 11 months ago) by mgedmin
Fix testrunner-colors.txt test failure on Python 2.3.


Revision 77995 - Directory Listing
Modified Sun Jul 15 12:46:11 2007 UTC (7 years, 11 months ago) by mgedmin
Mention the fix in the README.


Revision 77994 - Directory Listing
Modified Sun Jul 15 12:38:43 2007 UTC (7 years, 11 months ago) by mgedmin
Fix the flurry of "Error reading subprocess output for ...Layer" errors
when running the full Zope 3 test suite on Linux.


Revision 77993 - Directory Listing
Modified Sun Jul 15 12:03:40 2007 UTC (7 years, 11 months ago) by mgedmin
Show the total time to run all tests.


Revision 77992 - Directory Listing
Modified Sun Jul 15 11:42:50 2007 UTC (7 years, 11 months ago) by mgedmin
Highlight test layers that have suboptimal behaviour (no debugging/profiling)
because they're running in a subprocess.


Revision 77990 - Directory Listing
Modified Sun Jul 15 09:46:38 2007 UTC (7 years, 11 months ago) by mgedmin
Update the README with new changes since 2007/03/29 by looking at the svn log.


Revision 77985 - Directory Listing
Modified Sat Jul 14 22:05:04 2007 UTC (7 years, 11 months ago) by mgedmin
Fix some editor accident in a docstring.


Revision 77984 - Directory Listing
Modified Sat Jul 14 22:04:21 2007 UTC (7 years, 11 months ago) by mgedmin
Remove branch after merging it to trunk.


Revision 77983 - Directory Listing
Modified Sat Jul 14 22:04:06 2007 UTC (7 years, 11 months ago) by mgedmin
Remove branch after merging it to trunk.


Revision 77982 - Directory Listing
Modified Sat Jul 14 22:03:35 2007 UTC (7 years, 11 months ago) by mgedmin
Merge the colorized-output branch with

  svn merge -r 77866:77980 svn+ssh://svn.zope.org/repos/main/zope.testing/branches/colorized-output .

Adds a new test runner option -c that produces ANSI color sequences to
highlight test failures, diffs and other interesting pieces of information.


Revision 77981 - Directory Listing
Modified Sat Jul 14 21:59:41 2007 UTC (7 years, 11 months ago) by mgedmin
Merge the output-refactoring branch with

  svn merge -r 77825:77855 svn+ssh://svn.zope.org/repos/main/zope.testing/branches/output-refactoring .

Extract all output operations into a single class (OutputFormatter).  The goal
is to have the output logic in a single place so it's easier to modify (e.g.
add colours if the user asks for them), or replace it with alternative output
formats (e.g., HTML or GUI).


Revision 77980 - Directory Listing
Modified Sat Jul 14 21:54:23 2007 UTC (7 years, 11 months ago) by mgedmin
Tests for colorizing all sorts of doctest failures.


Revision 77979 - Directory Listing
Modified Sat Jul 14 21:53:29 2007 UTC (7 years, 11 months ago) by mgedmin
Typo.


Revision 77950 - Directory Listing
Modified Sat Jul 14 16:35:09 2007 UTC (7 years, 11 months ago) by mgedmin
Make the output with -c exactly match the output without -c (modulo the colors,
of course).  Add a test for colorizing the output.


Revision 77928 - Directory Listing
Modified Sat Jul 14 14:16:07 2007 UTC (7 years, 11 months ago) by ryzaja
Typo fixed.


Revision 77877 - Directory Listing
Modified Fri Jul 13 16:35:33 2007 UTC (7 years, 11 months ago) by mgedmin
Highlight old-style unit test tracebacks.


Revision 77876 - Directory Listing
Modified Fri Jul 13 16:26:09 2007 UTC (7 years, 11 months ago) by mgedmin
Colorize doctest diffs.


Revision 77874 - Directory Listing
Modified Fri Jul 13 16:05:43 2007 UTC (7 years, 11 months ago) by mgedmin
Highlight exceptions in doctests.


Revision 77872 - Directory Listing
Modified Fri Jul 13 15:59:49 2007 UTC (7 years, 11 months ago) by mgedmin
Colorize the filename, line number and test name separately.


Revision 77871 - Directory Listing
Modified Fri Jul 13 15:49:07 2007 UTC (7 years, 11 months ago) by mgedmin
Start colorizing error output: currently doctests failures without diffs only.


Revision 77870 - Directory Listing
Modified Fri Jul 13 15:30:23 2007 UTC (7 years, 11 months ago) by mgedmin
Clarify the difference between OutputFormatter.summary() and .totals().


Revision 77869 - Directory Listing
Modified Fri Jul 13 15:29:14 2007 UTC (7 years, 11 months ago) by mgedmin
Colorize the totals as well.


Revision 77868 - Directory Listing
Modified Fri Jul 13 15:21:47 2007 UTC (7 years, 11 months ago) by mgedmin
Show that I care.


Revision 77867 - Directory Listing
Modified Fri Jul 13 15:19:44 2007 UTC (7 years, 11 months ago) by mgedmin
Add a ColorfulOutputFormatter.  It doesn't do much yet, but at least the
overall result is easier to see: all the numbers are green when all test
passed, some of the numbers are red if some tests failed.


Revision 77866 - Directory Listing
Modified Fri Jul 13 15:18:44 2007 UTC (7 years, 11 months ago) by mgedmin
Create a branch for colorizing test runner output.


Revision 77855 - Directory Listing
Modified Fri Jul 13 11:38:53 2007 UTC (7 years, 11 months ago) by mgedmin
Move refcount reporting into OutputFormatter.


Revision 77854 - Directory Listing
Modified Fri Jul 13 11:30:13 2007 UTC (7 years, 11 months ago) by mgedmin
Clarify the code.  "if i:" is not something you want to see 96 lines down in a
method.


Revision 77853 - Directory Listing
Modified Fri Jul 13 11:27:56 2007 UTC (7 years, 11 months ago) by mgedmin
Meh.  There's no obvious way to hook up the output formatter to
FakeInputContinueGenerator.


Revision 77852 - Directory Listing
Modified Fri Jul 13 11:26:02 2007 UTC (7 years, 11 months ago) by mgedmin
Move the reporting of left-behind threads into OutputFormatter.


Revision 77851 - Directory Listing
Modified Fri Jul 13 11:23:38 2007 UTC (7 years, 11 months ago) by mgedmin
Move garbage reporting into OutputFormatter.


Revision 77846 - Directory Listing
Modified Fri Jul 13 11:04:58 2007 UTC (7 years, 11 months ago) by mgedmin
Always compute self.max_width.

Prioritize TODO comments I've added recently.


Revision 77845 - Directory Listing
Modified Fri Jul 13 11:01:36 2007 UTC (7 years, 11 months ago) by mgedmin
Move the global print_traceback into OutputFormatter.


Revision 77843 - Directory Listing
Modified Fri Jul 13 10:58:33 2007 UTC (7 years, 11 months ago) by mgedmin
Inline a trivial method.


Revision 77842 - Directory Listing
Modified Fri Jul 13 10:57:45 2007 UTC (7 years, 11 months ago) by mgedmin
Make sure the "Set up $layername" message appears before the set up completes.


Revision 77841 - Directory Listing
Modified Fri Jul 13 10:56:28 2007 UTC (7 years, 11 months ago) by mgedmin
More refactoring: move all the output related to running the tests into
OutputFormatter.

Noticed a couple of potential bugs in other parts of the code and added
XXX/TODO comments.


Revision 77828 - Directory Listing
Modified Fri Jul 13 10:21:21 2007 UTC (7 years, 11 months ago) by mgedmin
Refactor layer setup/teardown messages.


Revision 77826 - Directory Listing
Modified Fri Jul 13 10:06:09 2007 UTC (7 years, 11 months ago) by mgedmin
Extract (about half of) output operations into a single class.

The goal is to have the output logic in a single place so it's easier to modify
(e.g. add colours if the user asks for them), or replace it with alternative
output formats (e.g., HTML or GUI).


Revision 77825 - Directory Listing
Modified Fri Jul 13 10:04:33 2007 UTC (7 years, 11 months ago) by mgedmin
Create a branch for refactoring the output of the test runner.


Revision 77809 - Directory Listing
Modified Fri Jul 13 09:02:55 2007 UTC (7 years, 11 months ago) by mgedmin
Docstrings are good.


Revision 77805 - Directory Listing
Modified Fri Jul 13 08:58:24 2007 UTC (7 years, 11 months ago) by mgedmin
testrunner-profiling-cprofiler.txt needs both cProfile and pstats.  Debian
splits pstats into a separate package, so the existence of cProfile doesn't
mean it will work.


Revision 77773 - Directory Listing
Modified Thu Jul 12 16:23:16 2007 UTC (7 years, 11 months ago) by mgedmin
Python 2.5 compatibility: due to explicit type checks in
unittest.TestSuite.addTest(), the error is caught earlier and presented
differently ("TypeError: the test to add must be callable").  Since the module
name is available in both cases, they both ought to be acceptable.


Revision 77771 - Directory Listing
Modified Thu Jul 12 16:08:30 2007 UTC (7 years, 11 months ago) by mgedmin
Python 2.5 compatibility: unittest.TestSuite.addTest() now performs strict type
checking.  Fixes a failure in testrunner-errors.txt.


Revision 77716 - Directory Listing
Modified Thu Jul 12 08:48:01 2007 UTC (7 years, 11 months ago) by mgedmin
Explain how to get started with buildout.


Revision 76903 - Directory Listing
Modified Thu Jun 21 16:26:38 2007 UTC (8 years ago) by nikhil_n
deleting branch merged with trunk

Revision 76900 - Directory Listing
Modified Thu Jun 21 13:53:27 2007 UTC (8 years ago) by nikhil_n
Merge from nikhil_n-py25 branch:
    Made zope.testing work with Python 2.5, also tested in 2.4 & 2.3

Revision 76053 - Directory Listing
Modified Thu May 31 19:02:03 2007 UTC (8 years, 1 month ago) by nikhil_n
fixed problems in output redirection caused by pdb changes in python2.5

Revision 75992 - Directory Listing
Modified Wed May 30 07:17:46 2007 UTC (8 years, 1 month ago) by zagy
- added option to use the cProfiler of Python 2.5

note, that this features is not quite as useful right now since the test runner
fails horribly with Python 2.5. The only way to use it right now would be to
compile the cProfiler manually for Python 2.4 (which is what I did).



Revision 75911 - Directory Listing
Modified Wed May 23 17:30:16 2007 UTC (8 years, 1 month ago) by zagy
found another unicode related bug which occured when one test returned a unicode and a subsequent test a normal string with unicode chars

Revision 75910 - Directory Listing
Modified Wed May 23 15:37:21 2007 UTC (8 years, 1 month ago) by zagy
ignoring generated documentation.txt


Revision 75909 - Directory Listing
Modified Wed May 23 15:36:35 2007 UTC (8 years, 1 month ago) by zagy
Fixed a bug which prevented error reporting when there were unicode characters
in the error. By prevented I mean the testrunner to die. 


Revision 75908 - Directory Listing
Modified Wed May 23 15:01:53 2007 UTC (8 years, 1 month ago) by zagy
fixed whitespace

Revision 75861 - Directory Listing
Modified Mon May 21 13:26:03 2007 UTC (8 years, 1 month ago) by nikhil_n
added more renormaliser rules for Python 2.5 to work

Revision 75845 - Directory Listing
Modified Fri May 18 18:51:02 2007 UTC (8 years, 1 month ago) by fdrake
add support for --hide-secondary-failures and --show-secondary-failures
https://bugs.launchpad.net/zope3/+bug/115454

Revision 75815 - Directory Listing
Modified Thu May 17 17:45:08 2007 UTC (8 years, 1 month ago) by nikhil_n
porting to Python2.5

Revision 75564 - Directory Listing
Modified Sun May 6 13:56:52 2007 UTC (8 years, 2 months ago) by jim
Added missing setuptools dependency (when setuptools is used) and
changed to work w/o setuptools.

Revision 75563 - Directory Listing
Modified Sun May 6 13:56:42 2007 UTC (8 years, 2 months ago) by jim
Added exception handling for odd error in reading subprocess output
that occurs when running the full Zope 3 tests.

Revision 75562 - Directory Listing
Modified Sun May 6 13:56:37 2007 UTC (8 years, 2 months ago) by jim
Removed unused files.

Revision 75561 - Directory Listing
Modified Sun May 6 13:56:33 2007 UTC (8 years, 2 months ago) by jim
Added parts for multiple python-dependent test scripts.

Revision 74645 - Directory Listing
Modified Sun Apr 22 21:25:39 2007 UTC (8 years, 2 months ago) by ctheune
Fixing external reference.

Revision 74547 - Directory Listing
Modified Sun Apr 22 11:12:05 2007 UTC (8 years, 2 months ago) by ctheune
Updating version.

Revision 74546 - Directory Listing
Modified Sun Apr 22 11:11:47 2007 UTC (8 years, 2 months ago) by ctheune
Tagging 3.4.0a1

Revision 73924 - Directory Listing
Modified Thu Mar 29 19:09:11 2007 UTC (8 years, 3 months ago) by jim
tagged release

Revision 73923 - Directory Listing
Modified Thu Mar 29 19:06:47 2007 UTC (8 years, 3 months ago) by jim
Added missing change.

Revision 73922 - Directory Listing
Modified Thu Mar 29 19:05:06 2007 UTC (8 years, 3 months ago) by jim
This file is a recipe for bad releases

Revision 73921 - Directory Listing
Modified Thu Mar 29 19:04:05 2007 UTC (8 years, 3 months ago) by jim
merged CHANGES.txt and README.txt and updated release info.

Revision 73920 - Directory Listing
Modified Thu Mar 29 19:04:02 2007 UTC (8 years, 3 months ago) by jim
Removed a somewhat pointless file.

Revision 73919 - Directory Listing
Modified Thu Mar 29 18:51:28 2007 UTC (8 years, 3 months ago) by jim
Fixed tear-down order bug.

Revision 73918 - Directory Listing
Modified Thu Mar 29 18:40:46 2007 UTC (8 years, 3 months ago) by jim
Added a small framework for automating doctest setUp/tearDown.

Revision 73811 - Directory Listing
Modified Wed Mar 28 05:48:30 2007 UTC (8 years, 3 months ago) by dobe
tag svn revision by default

Revision 73174 - Directory Listing
Modified Wed Mar 14 19:17:23 2007 UTC (8 years, 3 months ago) by gary
add exit-with-status support

Revision 73088 - Directory Listing
Modified Fri Mar 9 02:58:12 2007 UTC (8 years, 3 months ago) by baijum
 - Added Buildout support
 - Version incremented to 3.4dev

Revision 73046 - Directory Listing
Modified Thu Mar 8 00:58:14 2007 UTC (8 years, 4 months ago) by jinty
Fix testrunner-wo-source.txt and testrunner-errors.txt to run with a read-only source tree.

Revision 72674 - Directory Listing
Modified Mon Feb 19 11:50:13 2007 UTC (8 years, 4 months ago) by voblia
Added zope.testing.server thingie. Now you can use a real browser on a
temprorary database in a functional test.

Revision 72152 - Directory Listing
Modified Sat Jan 20 18:56:44 2007 UTC (8 years, 5 months ago) by mgedmin
Somebody please take the keyboard away from me.


Revision 72151 - Directory Listing
Modified Sat Jan 20 18:56:08 2007 UTC (8 years, 5 months ago) by mgedmin
Aargh.


Revision 72150 - Directory Listing
Modified Sat Jan 20 18:53:05 2007 UTC (8 years, 5 months ago) by mgedmin
Add an example test checker and a useful base class.

What's missing?  Unit tests!


Revision 72149 - Directory Listing
Modified Sat Jan 20 18:51:12 2007 UTC (8 years, 5 months ago) by mgedmin
Fix brain fart and unit tests.

This is what happens when you think "it's just a cosmetic change, I don't
really need to re-run the unit tests, right?" and then go ahead and change the
wrong line.


Revision 72147 - Directory Listing
Modified Sat Jan 20 14:47:06 2007 UTC (8 years, 5 months ago) by mgedmin
Remove the branch now that it is merged to trunk.


Revision 72146 - Directory Listing
Modified Sat Jan 20 14:46:47 2007 UTC (8 years, 5 months ago) by mgedmin
Add a --list-tests option.  It is useful when you want to trim down the set of
tests, and want to be sure those and only those tests you want will be run.
(You could do the same with test.py -vv, but several iterations of that with
different combination sof -t/-m/-s/--layer/--level options might take ages.)

Merged from the list-tests branch with

  svn merge -r 72033:72034 svn+ssh://svn.zope.org/repos/main/zope.testing/branches/list-tests .


Revision 72145 - Directory Listing
Modified Sat Jan 20 14:27:04 2007 UTC (8 years, 5 months ago) by mgedmin
Add a --checkers option.  You pass a Python module name (e.g.
zope.testing.eventcheckers).  You can pass more than one --checkers argument.

The Python module must define a function named test_checkers() that returns
a list of objects.  These objects can define the following methods:

   startTest(test)
   stopTest(test)
   startLayer(layer)
   stopLayer(layer)

The checkers can inspect the application state before and after a test (or
layer) and complain if the test/layer changed something but did not clean up
after itself.

What's missing in this branch:

   - tests for the feature
   - documentation
   - sample checkers:
        - look at logging handlers
        - look at zope.event.subscribers
        - look at data managers registered with the transaction
        - look at the list of component registrations


Revision 72144 - Directory Listing
Modified Sat Jan 20 14:22:47 2007 UTC (8 years, 5 months ago) by mgedmin
Create a new feature branch.


Revision 72039 - Directory Listing
Modified Mon Jan 15 11:58:02 2007 UTC (8 years, 5 months ago) by mgedmin
Clarify more.


Revision 72038 - Directory Listing
Modified Mon Jan 15 11:56:36 2007 UTC (8 years, 5 months ago) by mgedmin
Clarify what --list-modules shows.


Revision 72034 - Directory Listing
Modified Sun Jan 14 19:52:17 2007 UTC (8 years, 5 months ago) by mgedmin
Add a --list-tests option.  It is useful when you want to trim down the set of
tests, and want to be sure those and only those tests you want will be run.
(You could do the same with test.py -vv, but several iterations of that with
different combination sof -t/-m/-s/--layer/--level options might take ages.)


Revision 72033 - Directory Listing
Modified Sun Jan 14 19:31:32 2007 UTC (8 years, 5 months ago) by mgedmin
Create a branch

Revision 72032 - Directory Listing
Modified Sun Jan 14 19:29:32 2007 UTC (8 years, 5 months ago) by mgedmin
Remove the branch now that it has been merged.


Revision 72031 - Directory Listing
Modified Sun Jan 14 19:28:23 2007 UTC (8 years, 5 months ago) by mgedmin
Make test.py -s subdir pay attention to the directory -> package mappings.

The goal is to make test.py -s src/zope/subpackage be an alternative
way of specifying -s zope.subpackage, if I'm in the root of a Zope 3 checkout.
Why is that useful?  This way you can use shell tab-completion to specify
a package name.  The current "backwards compatibility" code that replaces
slashes with dots is not sufficient for that.

Merged from the filter-by-dirs branch with

  svn merge -r 71985:71986 svn+ssh://svn.zope.org/repos/main/zope.testing/branches/filter-by-dirs .


Revision 72030 - Directory Listing
Modified Sun Jan 14 19:25:29 2007 UTC (8 years, 5 months ago) by mgedmin
When I replaced "ms" with "s" in rev 71989, I did not notice that the
normalization patterns also expected ms.


Revision 72029 - Directory Listing
Modified Sun Jan 14 19:10:22 2007 UTC (8 years, 5 months ago) by mgedmin
Remove the branch now that it was merged.


Revision 72028 - Directory Listing
Modified Sun Jan 14 19:09:14 2007 UTC (8 years, 5 months ago) by mgedmin
To me ./test.py -fu means "run both unit and non-unit tests".  Make it
so that the test runner agrees.

The older interpetation (test.py -fu means "always run 0 tests") is obviously
useless.

Merged from the test-fu branch with

  svn merge -r 71987:71992 svn+ssh://svn.zope.org/repos/main/zope.testing/branches/test-fu .


Revision 71992 - Directory Listing
Modified Fri Jan 12 23:36:44 2007 UTC (8 years, 5 months ago) by mgedmin
Typo: s/interpets/interprets/.


Revision 71991 - Directory Listing
Modified Fri Jan 12 23:23:45 2007 UTC (8 years, 5 months ago) by mgedmin
Oops.  The code from the test-fu branch was accidentally merged into trunk
without its corresponding testcase.  Revert the chunk.


Revision 71990 - Directory Listing
Modified Fri Jan 12 23:19:40 2007 UTC (8 years, 5 months ago) by mgedmin
Fix a few typos.


Revision 71989 - Directory Listing
Modified Fri Jan 12 23:12:33 2007 UTC (8 years, 5 months ago) by mgedmin
Minor bugfix: ./test.py -vvv used to show test timings in seconds, but said the
times were in milliseconds.


Revision 71988 - Directory Listing
Modified Fri Jan 12 23:05:04 2007 UTC (8 years, 5 months ago) by mgedmin
To me ./test.py -fu means "run both unit and non-unit tests".  Make it
so that the test runner agrees.

The older interpetation (test.py -fu means "always run 0 tests") is obviously
useless.


Revision 71987 - Directory Listing
Modified Fri Jan 12 23:03:56 2007 UTC (8 years, 5 months ago) by mgedmin
Create branch.

Revision 71986 - Directory Listing
Modified Fri Jan 12 22:37:36 2007 UTC (8 years, 5 months ago) by mgedmin
Make test.py -s subdir pay attention to the directory -> package mappings.

The goal is to make test.py -s src/zope/subpackage be an alternative
way of specifying -s zope.subpackage, if I'm in the root of a Zope 3 checkout.
Why is that useful?  This way you can use shell tab-completion to specify
a package name.  The current "backwards compatibility" code that replaces
slashes with dots is not sufficient for that.

I would appreciate testing on various platforms (e.g. Windows) and in various
checkout layouts (e.g. those that use zc.buildout and stich multiple zope_foo
packages from different subdirectories into one namespace).


Revision 71985 - Directory Listing
Modified Fri Jan 12 22:33:13 2007 UTC (8 years, 5 months ago) by mgedmin
Create a branch for improving 'test.py --dir subdir' backward compatibility.


Revision 71983 - Directory Listing
Modified Fri Jan 12 19:50:51 2007 UTC (8 years, 5 months ago) by mgedmin
Remove obsolete branch.  All the changes but one were merged into trunk,
and the remaining one was moved into a separate feature branch (list-modules).


Revision 71982 - Directory Listing
Modified Fri Jan 12 19:46:53 2007 UTC (8 years, 5 months ago) by mgedmin
Implement a --list-modules option that lists all modules matching your pattern,
but does not actually run any tests.  It has one downside: it ignores layer
filtering.

This used to live on the mgedmin-fixes branch:

  svn merge -r 71952:71953 svn+ssh://svn.zope.org/repos/main/zope.testing/branches/mgedmin-fixes .


Revision 71981 - Directory Listing
Modified Fri Jan 12 19:42:54 2007 UTC (8 years, 5 months ago) by mgedmin
Create a separate branch for the only remaining change in the mgedmin-fixes
branch that wasn't merged to trunk.

The change adds a new feature: test.py --list-modules, so it's not really a
fix.


Revision 71974 - Directory Listing
Modified Fri Jan 12 15:47:28 2007 UTC (8 years, 5 months ago) by mgedmin
Do not catch KeyboardInterrupt with bare excepts; that's very user-unfriendly.

Merged from the mgedmin-fixes branch with

    svn merge -r 71951:71952 svn+ssh://svn.zope.org/repos/main/zope.testing/branches/mgedmin-fixes .


Revision 71973 - Directory Listing
Modified Fri Jan 12 15:45:05 2007 UTC (8 years, 5 months ago) by mgedmin
Mark test.py as executable.


Revision 71972 - Directory Listing
Modified Fri Jan 12 15:41:09 2007 UTC (8 years, 5 months ago) by mgedmin
Strip trailing whitespace and unify indentation.

Merged from the mgedmin-fixes branch with

  svn merge -r 71949:71950 svn+ssh://svn.zope.org/repos/main/zope.testing/branches/mgedmin-fixes .


Revision 71971 - Directory Listing
Modified Fri Jan 12 15:40:14 2007 UTC (8 years, 5 months ago) by mgedmin
Fix bogus unitdoctest.py in renormalizer output

Merged from the mgedmin-fixes branch with

  svn merge -r 71949:71950 svn+ssh://svn.zope.org/repos/main/zope.testing/branches/mgedmin-fixes .


Revision 71970 - Directory Listing
Modified Fri Jan 12 15:36:40 2007 UTC (8 years, 5 months ago) by mgedmin
Fix all failing tests (I used to see four of them).

My Python 2.4.4 includes

  File "unittest.py" ...

in the tracebacks.  The existing renormalization pattern required extra
characters between " and unittest.

Merged from the mgedmin-fixes branch with

  svn merge -r 71948:71949 svn+ssh://svn.zope.org/repos/main/zope.testing/branches/mgedmin-fixes .


Revision 71953 - Directory Listing
Modified Fri Jan 12 01:28:29 2007 UTC (8 years, 5 months ago) by mgedmin
Implement a --list-modules option that lists all modules matching your pattern,
but does not actually run any tests.

I hope this will help me figure out why test.py -s zope.testing in a Zope 3
checkout runs 0 tests.


Revision 71952 - Directory Listing
Modified Fri Jan 12 00:56:28 2007 UTC (8 years, 5 months ago) by mgedmin
Do not catch KeyboardInterrupt with bare excepts; that's very user-unfriendly.


Revision 71951 - Directory Listing
Modified Fri Jan 12 00:44:36 2007 UTC (8 years, 5 months ago) by mgedmin
Strip trailing whitespace and unify indentation.


Revision 71950 - Directory Listing
Modified Fri Jan 12 00:41:32 2007 UTC (8 years, 5 months ago) by mgedmin
Fix bogus unitdoctest.py in renormalizer output


Revision 71949 - Directory Listing
Modified Fri Jan 12 00:39:20 2007 UTC (8 years, 5 months ago) by mgedmin
Fix all failing tests (I used to see four of them).

My Python 2.4.4 includes

  File "unittest.py" ...

in the tracebacks.  The existing renormalization pattern required extra
characters between " and unittest.


Revision 71948 - Directory Listing
Modified Fri Jan 12 00:16:44 2007 UTC (8 years, 5 months ago) by mgedmin
Mark test.py as executable

Revision 71947 - Directory Listing
Modified Fri Jan 12 00:15:52 2007 UTC (8 years, 5 months ago) by mgedmin
Create a branch for fixing test failures I see in zope.testing.

I do not currently have an easy way to test with multiple Python versions, so
I'd rather work in a branch than accidentally break it for everyone in trunk.


Revision 71024 - Directory Listing
Modified Thu Nov 2 04:30:36 2006 UTC (8 years, 8 months ago) by baijum
Typo fixes, s/moduke/module

Revision 71023 - Directory Listing
Modified Thu Nov 2 02:38:56 2006 UTC (8 years, 8 months ago) by ctheune
 - fixed typos

Revision 70272 - Directory Listing
Modified Wed Sep 20 21:31:03 2006 UTC (8 years, 9 months ago) by jim
tagged release

Revision 70271 - Directory Listing
Modified Wed Sep 20 21:27:32 2006 UTC (8 years, 9 months ago) by jim
Updated documentation and release data.  The update of the
documentation was motivated by a desire to publish the documentation
at: http://www.python.org/pypi/zope.testing.

Revision 70264 - Directory Listing
Modified Wed Sep 20 19:53:43 2006 UTC (8 years, 9 months ago) by jim
Revert making this not a buildout for now until I can redo the buildbot.

Revision 70263 - Directory Listing
Modified Wed Sep 20 19:06:17 2006 UTC (8 years, 9 months ago) by jim
Removed "chapters" experiment.

Revision 70262 - Directory Listing
Modified Wed Sep 20 19:00:29 2006 UTC (8 years, 9 months ago) by jim
Converted to a buildout.

Revision 70261 - Directory Listing
Modified Wed Sep 20 18:52:04 2006 UTC (8 years, 9 months ago) by jim
too soon :(

Revision 70260 - Directory Listing
Modified Wed Sep 20 18:49:26 2006 UTC (8 years, 9 months ago) by jim
Tag for release.

Revision 70259 - Directory Listing
Modified Wed Sep 20 18:48:45 2006 UTC (8 years, 9 months ago) by jim
Prep for pypi release.

Revision 69671 - Directory Listing
Modified Fri Aug 18 19:37:12 2006 UTC (8 years, 10 months ago) by jim
internal release for Zope 3.3.0b3

Revision 69670 - Directory Listing
Modified Fri Aug 18 19:34:47 2006 UTC (8 years, 10 months ago) by jim
Ported to windows bug fixes from trunk.  Both were related to the fact
that windows drive letters can be lower case and that wasn't taken
into account.

Revision 69669 - Directory Listing
Modified Fri Aug 18 19:24:08 2006 UTC (8 years, 10 months ago) by jim
Created a branch for bug fixes needed by Zope 3.3

Revision 69364 - Directory Listing
Modified Mon Aug 7 15:56:38 2006 UTC (8 years, 11 months ago) by adamg
Windows drive names may appear in any case, that messed up TestIgnore.names.
That means valid modules/files got ignored by the profiler. 

Revision 69270 - Directory Listing
Modified Thu Jul 27 13:51:25 2006 UTC (8 years, 11 months ago) by benji_york
use the more common autonumbered footnotes in the tests

Revision 69117 - Directory Listing
Modified Thu Jul 13 22:23:17 2006 UTC (8 years, 11 months ago) by jim
Windos drive names can be lower case

Revision 69104 - Directory Listing
Modified Wed Jul 12 13:57:39 2006 UTC (8 years, 11 months ago) by benji_york
remove some dead code and add a test

Revision 69094 - Directory Listing
Modified Tue Jul 11 14:42:48 2006 UTC (8 years, 11 months ago) by benji_york
remove merged branch

Revision 69092 - Directory Listing
Modified Tue Jul 11 14:30:08 2006 UTC (8 years, 11 months ago) by benji_york
merge in benji-add-footnote-interpretation-to-doctest branch

Revision 69091 - Directory Listing
Modified Tue Jul 11 13:23:54 2006 UTC (8 years, 11 months ago) by benji_york
add some TODO items (suggested by Tim, PJE, Jim) so I don't forget them

Revision 69075 - Directory Listing
Modified Mon Jul 10 17:42:11 2006 UTC (8 years, 11 months ago) by benji_york
 - fix remaining bugs (that I'm aware of)
 - add more extensive tests
 - don't evaluate code in footnotes at the point of definition
 - warn if a footnote (with code) is defined and never used

Revision 69061 - Directory Listing
Modified Mon Jul 10 03:25:54 2006 UTC (8 years, 11 months ago) by benji_york
 - fix remaining bugs
 - make footnote examples also executed in situ

Revision 69052 - Directory Listing
Modified Sun Jul 9 03:57:18 2006 UTC (8 years, 11 months ago) by benji_york
add footnote interpretation (one test failure still needs work)

Revision 69051 - Directory Listing
Modified Sun Jul 9 03:55:47 2006 UTC (8 years, 11 months ago) by benji
create branch

Revision 68925 - Directory Listing
Modified Fri Jun 30 11:49:37 2006 UTC (9 years ago) by Zen
Fix ordering of testSetUp and testTearDown calls, and allow new style classes
to be used as Layers by explicitly ignoring the object baseclass.

Revision 68746 - Directory Listing
Modified Mon Jun 19 06:56:11 2006 UTC (9 years ago) by Zen
Merged to trunk

Revision 68745 - Directory Listing
Modified Mon Jun 19 06:55:27 2006 UTC (9 years ago) by Zen
Merged /zope.testing/branches/stub-testSetUp_in_layer 68684:68744

Revision 68744 - Directory Listing
Modified Mon Jun 19 06:10:05 2006 UTC (9 years ago) by Zen
Tidy and remove Python 2.4ism

Revision 68689 - Directory Listing
Modified Fri Jun 16 12:02:13 2006 UTC (9 years ago) by Zen
Implement layer.testSetUp and layer.testTearDown support

Revision 68688 - Directory Listing
Modified Fri Jun 16 08:00:26 2006 UTC (9 years ago) by Zen
Update copyright on touched file

Revision 68687 - Directory Listing
Modified Fri Jun 16 07:22:08 2006 UTC (9 years ago) by Zen
Reset layer_name -> layer cache on run() to enforce test isolation.

Revision 68686 - Directory Listing
Modified Fri Jun 16 06:30:00 2006 UTC (9 years ago) by Zen
Doctests demonstrating layers from a users point of view, including tests of the proposed layer.testSetUp and layer.testTearDown feature soon to be implemented.

Revision 68685 - Directory Listing
Modified Fri Jun 16 06:26:47 2006 UTC (9 years ago) by Zen
Refactor bits of testrunner.py to make it more unit testable and add some docstrings to this desert

Revision 68684 - Directory Listing
Modified Fri Jun 16 06:22:34 2006 UTC (9 years ago) by Zen
per-test setup/teardown in layers

Revision 68624 - Directory Listing
Modified Tue Jun 13 21:36:04 2006 UTC (9 years ago) by srichter
Various code loves to reset the system trace function to None, even 
though they had not overridden it in the first place. I do not why, but 
doctest does this too (unintentionally I think). Thus I provided a 
simple wrapper around the sys.settrace function that ignores calls to 
the funtion, if the argument is None while the coverage tracing is 
activated.


Revision 68486 - Directory Listing
Modified Sun Jun 4 15:12:17 2006 UTC (9 years, 1 month ago) by jim
Removed the experimental develop-project support.  It's use of
MANIFEST.in was causing weird errors under some circomstances when
generated eggs were installed.

Revision 68485 - Directory Listing
Modified Sun Jun 4 15:11:09 2006 UTC (9 years, 1 month ago) by jim
Fixed an option misspelling.

Revision 68484 - Directory Listing
Modified Sun Jun 4 14:59:02 2006 UTC (9 years, 1 month ago) by jim
Mase zope.exception required only if the zope_tracebacks extra is
requested.

Revision 68483 - Directory Listing
Modified Sun Jun 4 14:58:59 2006 UTC (9 years, 1 month ago) by jim
Tried to document changes since 2.0.

Revision 68482 - Directory Listing
Modified Sun Jun 4 14:58:55 2006 UTC (9 years, 1 month ago) by jim
Restored logic to optionally monkeypatch the traceback module with
Zope-style exceptions.

Revision 67760 - Directory Listing
Modified Sun Apr 30 13:45:31 2006 UTC (9 years, 2 months ago) by benji_york
- make revised "ignore" code work on Windows
- fix typo

Revision 67750 - Directory Listing
Modified Sat Apr 29 15:46:13 2006 UTC (9 years, 2 months ago) by srichter
Fix the test coverage. If a module, for example `interfaces`, was in an
ignored directory/package, then if a module of the same name existed in
a covered direcotry/package, then it was also ignored there, because the
ignore cache stored the result by module name and not the filename of
the module. I provided a comprehensive test to fully test the ignoration
API and to demonstrate the issue.


Revision 67672 - Directory Listing
Modified Thu Apr 27 20:46:29 2006 UTC (9 years, 2 months ago) by benji_york
more zope.testing fixes for Python 2.5:
 - accomodate change in handling of tracebacks that included continued lines
 - another slight change to pdb output

Revision 67664 - Directory Listing
Modified Thu Apr 27 20:22:37 2006 UTC (9 years, 2 months ago) by benji_york
- more fixes to be Python 2.5 compatible:
    - the trace module properly outputs __init__.py files now
    - pdb formats printed exceptions differently
- whitespace fixes

Revision 67661 - Directory Listing
Modified Thu Apr 27 19:48:43 2006 UTC (9 years, 2 months ago) by benji_york
- fix a couple of shallow bugs when running zope.testing with Python 2.5
  (test's don't yet pass with 2.5, but continue to pass with 2.4)
- minor tweak to make a regex string raw

Revision 67660 - Directory Listing
Modified Thu Apr 27 19:34:42 2006 UTC (9 years, 2 months ago) by tim_one
There's no such thing as ImportException.  Looks like
ImportError was intended.

Revision 67659 - Directory Listing
Modified Thu Apr 27 19:32:21 2006 UTC (9 years, 2 months ago) by tim_one
Set svn-eol style to native on text files.

Revision 67048 - Directory Listing
Modified Sat Apr 15 18:16:04 2006 UTC (9 years, 2 months ago) by tseaver
'package_dir' must be a relative path.

Revision 67047 - Directory Listing
Modified Sat Apr 15 18:15:25 2006 UTC (9 years, 2 months ago) by tseaver
2.0.2:  'package_dir' must be a relative path.

Revision 66994 - Directory Listing
Modified Sat Apr 15 00:52:17 2006 UTC (9 years, 2 months ago) by tseaver
2.0.1:  suppress inclusion of setup.cfg in sdist builds.

Revision 66992 - Directory Listing
Modified Sat Apr 15 00:49:06 2006 UTC (9 years, 2 months ago) by tseaver
Suppress inclusion of setup.cfg in sdist builds.

Revision 66909 - Directory Listing
Modified Wed Apr 12 20:57:44 2006 UTC (9 years, 2 months ago) by slinkp
Docstring lied about level arg to InstalledHandler constructor.
Fixed and tested.

Revision 66868 - Directory Listing
Modified Tue Apr 11 22:20:36 2006 UTC (9 years, 2 months ago) by benji_york
more dot fixes

Revision 66866 - Directory Listing
Modified Tue Apr 11 22:01:00 2006 UTC (9 years, 2 months ago) by benji_york
tweak dots in tests so they pass

Revision 66516 - Directory Listing
Modified Wed Apr 5 11:57:24 2006 UTC (9 years, 3 months ago) by tseaver
Release management files from 2.0 tag.

Revision 66513 - Directory Listing
Modified Wed Apr 5 11:53:36 2006 UTC (9 years, 3 months ago) by tseaver
Namespace package boilerplate.

Revision 66512 - Directory Listing
Modified Wed Apr 5 11:52:19 2006 UTC (9 years, 3 months ago) by tseaver
Namespace package boilerplate.

Revision 66510 - Directory Listing
Modified Wed Apr 5 11:50:07 2006 UTC (9 years, 3 months ago) by tseaver
Tidying.

Revision 66450 - Directory Listing
Modified Tue Apr 4 21:09:30 2006 UTC (9 years, 3 months ago) by tseaver
Prep historical release.

Revision 66449 - Directory Listing
Modified Tue Apr 4 20:53:39 2006 UTC (9 years, 3 months ago) by tseaver
Create 2.0 tag based on landing in Zope 3.2.

Revision 66354 - Directory Listing
Modified Mon Apr 3 16:48:29 2006 UTC (9 years, 3 months ago) by chrisw
restore test runner to display uninterrupted dots at whatever width you happen to have your terminal set at.

Revision 66267 - Directory Listing
Modified Fri Mar 31 09:40:54 2006 UTC (9 years, 3 months ago) by BjornT
a test used the wrong variable to show that it worked.

Revision 66085 - Directory Listing
Modified Mon Mar 20 03:23:04 2006 UTC (9 years, 3 months ago) by tseaver
Adjust ignores.

Revision 66084 - Directory Listing
Modified Mon Mar 20 03:14:07 2006 UTC (9 years, 3 months ago) by tseaver
Make setup.cfg a template.

Revision 65959 - Directory Listing
Modified Mon Mar 13 19:19:14 2006 UTC (9 years, 3 months ago) by tseaver
Ignore derived directories.

Revision 65736 - Directory Listing
Modified Thu Mar 2 16:28:59 2006 UTC (9 years, 4 months ago) by nathan
Added develop.py and supporting external declaration; updated setup.[py|cfg] to support project workspace checkout.

Revision 65613 - Directory Listing
Modified Tue Feb 28 20:24:13 2006 UTC (9 years, 4 months ago) by tseaver
Names of dependencies must not include dots.

Revision 65557 - Directory Listing
Modified Tue Feb 28 00:34:34 2006 UTC (9 years, 4 months ago) by nathan
Removed traceback formatter monkey patching to eliminate circular dependency (blame Jim).

Revision 65556 - Directory Listing
Modified Tue Feb 28 00:33:20 2006 UTC (9 years, 4 months ago) by nathan
Added setup.py for use when ovulating eggs.

Revision 65551 - Directory Listing
Modified Tue Feb 28 00:08:04 2006 UTC (9 years, 4 months ago) by slinkp
clarified relationship of testrunner.py and the test.py scripts.

Revision 65550 - Directory Listing
Modified Mon Feb 27 23:59:06 2006 UTC (9 years, 4 months ago) by slinkp
Added README.txt, needed for eggification.

Revision 41294 - Directory Listing
Modified Fri Jan 13 04:13:46 2006 UTC (9 years, 5 months ago) by anguenot
Remove useless dot ('.') at the end of the package. bash
adds a `/` by default using completion. Otherweise, it
raises an exception trying to import an empty package
because of this.

Revision 41141 - Directory Listing
Modified Wed Jan 4 23:23:41 2006 UTC (9 years, 6 months ago) by jim
Merged from doctest-encoding branch:

r40133 | jim | 2005-11-15 12:06:53 -0500 (Tue, 15 Nov 2005) | 5 lines

Merged revision 41452 from Python svn:

Added support for pep 263 encoding specifications in doctest text
    test files.

r40131 | jim | 2005-11-15 11:06:59 -0500 (Tue, 15 Nov 2005) | 2 lines

Merged encoding api patch from Python svn.

Revision 41126 - Directory Listing
Modified Tue Jan 3 23:17:01 2006 UTC (9 years, 6 months ago) by jim
Changed the strategy for running layers as subproccesses when previous
layers can't be torn down.  Now, we run each subsequent layer as a
separate subprocess, rather than running all subsequent layers as a
single subprocess.  In the later case, if lots of layers can't be torn
down, we end up with deeply nested subprocesses, which isn't
good. Also, now we get output after each subsequent layer, rather than
having to wait until all of the layers have run.

Also made output when laters can't be torn down less chatty.

Revision 41060 - Directory Listing
Modified Sun Jan 1 18:41:00 2006 UTC (9 years, 6 months ago) by jim
Fixed a bug in the coverage feature that was exposed by running tests
in a windows install.  The coverage feature didn't work when used to
test code installed in site-packages.

Revision 40941 - Directory Listing
Modified Wed Dec 21 11:33:04 2005 UTC (9 years, 6 months ago) by efge
Fixed % and - precedence.

Revision 40847 - Directory Listing
Modified Sat Dec 17 13:35:15 2005 UTC (9 years, 6 months ago) by hdima
Added test for MyTrace

Revision 40816 - Directory Listing
Modified Fri Dec 16 17:35:57 2005 UTC (9 years, 6 months ago) by hdima
Typo

Revision 40811 - Directory Listing
Modified Fri Dec 16 15:14:52 2005 UTC (9 years, 6 months ago) by hdima
Fixed typo

Revision 40511 - Directory Listing
Modified Fri Dec 2 23:25:06 2005 UTC (9 years, 7 months ago) by jim
In debug mode, shouldn't clean up test globs.  That is done more
carefully by tearDown.

Revision 40510 - Directory Listing
Modified Fri Dec 2 22:44:16 2005 UTC (9 years, 7 months ago) by jim
Added logic to cleanup attributes created in test setUp routines.
We've found that these attributes sometimes hold resources that can
be precious.

Revision 40509 - Directory Listing
Modified Fri Dec 2 22:44:14 2005 UTC (9 years, 7 months ago) by jim
Updated to reflect old renaming.

Revision 40248 - Directory Listing
Modified Sat Nov 19 15:56:54 2005 UTC (9 years, 7 months ago) by benji_york
whitespace fixes

Revision 40247 - Directory Listing
Modified Sat Nov 19 15:56:16 2005 UTC (9 years, 7 months ago) by benji_york
fix un-raw regex string

Revision 40246 - Directory Listing
Modified Sat Nov 19 15:52:25 2005 UTC (9 years, 7 months ago) by benji_york
removed apparently outdated prose

Revision 40133 - Directory Listing
Modified Tue Nov 15 17:06:53 2005 UTC (9 years, 7 months ago) by jim
Merged revision 41452 from Python svn:

Added support for pep 263 encoding specifications in doctest text
  test files.

Revision 40131 - Directory Listing
Modified Tue Nov 15 16:06:59 2005 UTC (9 years, 7 months ago) by jim
Merged encoding api patch from Python svn.

Revision 40130 - Directory Listing
Modified Tue Nov 15 15:54:10 2005 UTC (9 years, 7 months ago) by jim
Dev branch for integrating doctest encoding of text files

Revision 40129 - Directory Listing
Modified Tue Nov 15 15:48:14 2005 UTC (9 years, 7 months ago) by jim
Cleaned up profiling test:

- Renamed to match other text file names

- Added documentation of the temporary files that profiling leaves
  behind intentionally.

- Cleans up temporary files created when testing profiling.

Revision 39838 - Directory Listing
Modified Wed Nov 2 00:15:33 2005 UTC (9 years, 8 months ago) by jim
Improved the way lines are erased when --progress option is used.

Revision 39830 - Directory Listing
Modified Tue Nov 1 21:48:30 2005 UTC (9 years, 8 months ago) by jim
Fixed bugs in handling positional arguments.

Revision 39827 - Directory Listing
Modified Tue Nov 1 21:23:17 2005 UTC (9 years, 8 months ago) by jim
Changed the --module option to match against dotted module names
rather than module file path names.

Revision 39826 - Directory Listing
Modified Tue Nov 1 20:22:32 2005 UTC (9 years, 8 months ago) by jim
Made the test runner less susceptible to Python 2.3 partial import of
the curses module.

Revision 39823 - Directory Listing
Modified Tue Nov 1 19:47:26 2005 UTC (9 years, 8 months ago) by jim
Changed -vp to be compatible to old test runner.

Revision 39805 - Directory Listing
Modified Tue Nov 1 11:49:21 2005 UTC (9 years, 8 months ago) by hdima
Typo

Revision 39736 - Directory Listing
Modified Sun Oct 30 16:40:15 2005 UTC (9 years, 8 months ago) by jim
Fixed bug: couldn't use --package (aka -s, --dir) to select knit-in
packages or subpackages of knit-in packages.

Revision 39704 - Directory Listing
Modified Fri Oct 28 23:36:39 2005 UTC (9 years, 8 months ago) by jim
Moved the configure_logging up in the order of operations.
Custom option handlers (like Zope 2's config-file handler) might set
logging policies of their own and we don't want to mess with them.

This part of the test runner isn't tested. :(

Revision 39695 - Directory Listing
Modified Fri Oct 28 20:01:54 2005 UTC (9 years, 8 months ago) by jim
Added --package-path option to deal with directories, containing
tests, that are knit into packages defined by code that isn't being
tested.

Also tried to improve the docs for --tests-pattern and
--test-file-pattern.

Revision 39690 - Directory Listing
Modified Fri Oct 28 14:44:39 2005 UTC (9 years, 8 months ago) by jim
Added support for identifying memory leaks. (See
testrunner-leaks.txt.)

Added support for diff output of doctest failures.  (See
testrunner-errors.txt.)

Revision 39604 - Directory Listing
Modified Mon Oct 24 20:30:05 2005 UTC (9 years, 8 months ago) by jim
Added quiet option.

Revision 39554 - Directory Listing
Modified Fri Oct 21 22:55:07 2005 UTC (9 years, 8 months ago) by jim
Added gc control and statistics options.

Revision 39034 - Directory Listing
Modified Mon Oct 10 18:46:43 2005 UTC (9 years, 8 months ago) by tim_one
The last snapshot tag immortalized some Windows-specific bugs; repaired in this tag.

Revision 39024 - Directory Listing
Modified Sun Oct 9 19:31:59 2005 UTC (9 years, 8 months ago) by jim
Added a test for the --repeat option.

Revision 39023 - Directory Listing
Modified Sun Oct 9 19:31:57 2005 UTC (9 years, 8 months ago) by jim
Changed the way doctest test cases are torn down.  Rather than
clearing the test globs, restore them to their original state.
This is necessary to allow doctest test cases to be run repeatedtly.

We'll need to push this back into the python version -- with tests.
(We should consider including the python doctest tests here.

Revision 39022 - Directory Listing
Modified Sun Oct 9 18:38:39 2005 UTC (9 years, 8 months ago) by jim
Removed an inadvertently added file.

Revision 39021 - Directory Listing
Modified Sun Oct 9 18:38:33 2005 UTC (9 years, 8 months ago) by jim
Added tests for test_suite functions without returns and test suites
that don't contain tests or test suites.

Revision 39020 - Directory Listing
Modified Sun Oct 9 16:34:35 2005 UTC (9 years, 8 months ago) by jim
Removed an unnecessary (and thus, missleading) path manipulation in
test setup.

Revision 39019 - Directory Listing
Modified Sun Oct 9 16:34:26 2005 UTC (9 years, 8 months ago) by jim
Added a --test-path option to specify a directory containing tests
(top-level packages and modules) *without* specifying something to be
added to the Python path.

Fixed bugs in the setUp/tearDown code for the testrunner's tests.
In particular, we weren't checkpointing the path and argument data
properly and we weren't checkpointing module state at all.

Revision 38975 - Directory Listing
Modified Sat Oct 8 19:18:33 2005 UTC (9 years, 8 months ago) by jim
Broke up the doctest into multiple files for easier reading and
maintenance.

Revision 38734 - Directory Listing
Modified Mon Oct 3 21:43:32 2005 UTC (9 years, 9 months ago) by tim_one
Make a tag to ship with ZODB 3.4.2.

Revision 38733 - Directory Listing
Modified Mon Oct 3 21:43:02 2005 UTC (9 years, 9 months ago) by tim_one
Delete premature tag -- there were two Windows-specific bugs in this version that caused ZODB tests to fail.

Revision 38730 - Directory Listing
Modified Mon Oct 3 21:08:50 2005 UTC (9 years, 9 months ago) by tim_one
Repaired grammar in new comment.

Revision 38729 - Directory Listing
Modified Mon Oct 3 21:06:28 2005 UTC (9 years, 9 months ago) by tim_one
resume_tests():  On Windows, this could try to do

    args.insert(1, '-O')

after `args` had been changed from a list to a string.
Blew up then.  Swapped the order of the code so that
list operations are all done while `args` is still a
list.

The bad news:  the tests run on Windows under Python
2.3.5 using -O then, but _sometimes_ Python itself dies
with a segfault.  No clues yet.

Have not seen that happen under 2.4.2 with -O.

Revision 38728 - Directory Listing
Modified Mon Oct 3 20:50:30 2005 UTC (9 years, 9 months ago) by tim_one
The profile tests failed on Windows when using Python >= 2.4.2,
due to trying to unlink an open file.  Repaired that.

The profile tests still fail on Windows when using Python < 2.4.2
_and_ running Python with -O, but for an apparently entirely
different reason.  Haven't figured that one out yet.

This is interfering with creating a usable zope.testing tag for
ZODB 3.4.2.

Revision 38724 - Directory Listing
Modified Mon Oct 3 20:12:23 2005 UTC (9 years, 9 months ago) by tim_one
Copied remotely

Revision 38696 - Directory Listing
Modified Thu Sep 29 19:39:53 2005 UTC (9 years, 9 months ago) by benji_york
make a new tag for the missing profiler and Python 2.4.2 fixes

Revision 38695 - Directory Listing
Modified Thu Sep 29 19:26:52 2005 UTC (9 years, 9 months ago) by benji_york
fix logic error

Revision 38694 - Directory Listing
Modified Thu Sep 29 19:19:59 2005 UTC (9 years, 9 months ago) by benji_york
make the profiler tests run on Python 2.4.2 and greater

Revision 38693 - Directory Listing
Modified Thu Sep 29 19:11:20 2005 UTC (9 years, 9 months ago) by benji_york
make the test runner (and its tests) be tolerant of a missing Python profiler
(some Linux distributions refuse to include it)

Revision 38692 - Directory Listing
Modified Thu Sep 29 18:18:19 2005 UTC (9 years, 9 months ago) by tim_one
--usecompile tests:  Small simplification to path setup code.

Revision 38691 - Directory Listing
Modified Thu Sep 29 18:06:16 2005 UTC (9 years, 9 months ago) by tim_one
Removed sample2/sampletests_i.py from the project.

Changed the testrunner.txt doctest that uses it to 
create it dynamically instead.

The file contained a (deliberate) syntax error.  As a result,
every project (like ZODB) that _includes_ zope.testing shipped
with an uncompilable .py file.  Users installing such projects
then got nagged by complaints from distutils, when distutils
tried to compile all the .py files (it couldn't compile
sampletests_i.py because of its syntax error, and so reasonably
complained about that).

Revision 38687 - Directory Listing
Modified Thu Sep 29 14:27:41 2005 UTC (9 years, 9 months ago) by tim_one
Small simplification in the --usecompiled test:

Since the directory-duplicating code had to be changed to
skip .svn directories, there's no need for the code deleting
.py files in the copy to try to avoid that too.

Revision 38685 - Directory Listing
Modified Thu Sep 29 09:43:35 2005 UTC (9 years, 9 months ago) by jim
make a snapshot for use in z3

Revision 38684 - Directory Listing
Modified Thu Sep 29 09:21:32 2005 UTC (9 years, 9 months ago) by jim
No-longer have to pass the module name to tearDown.  Also
assign the module into it's parent module, so gettattr on the parent
module works.

Revision 38673 - Directory Listing
Modified Wed Sep 28 22:22:09 2005 UTC (9 years, 9 months ago) by tim_one
tim-pyc branch has been merged to the trunk.

Revision 38672 - Directory Listing
Modified Wed Sep 28 22:15:02 2005 UTC (9 years, 9 months ago) by tim_one
Merge tim-pyc branch.

Adds a new `--usecompiled` option.  When specified, tests will run even if
.py source files are missing, provided the appropriate .pyc or .pyo files
exist.

Sped find_test_files() by hoisting an invariant test out of a loop.

Miscellaneous whitespace and typo repairs.

Revision 38671 - Directory Listing
Modified Wed Sep 28 21:22:25 2005 UTC (9 years, 9 months ago) by tim_one
Small rephrasing.

Revision 38670 - Directory Listing
Modified Wed Sep 28 21:09:14 2005 UTC (9 years, 9 months ago) by tim_one
Added tests for --usecommit.

Revision 38668 - Directory Listing
Modified Wed Sep 28 18:49:20 2005 UTC (9 years, 9 months ago) by tim_one
Typo repair, trimmed trailing whitespace.

Revision 38657 - Directory Listing
Modified Tue Sep 27 22:38:09 2005 UTC (9 years, 9 months ago) by tim_one
Implementing --usecompiled.

Sped find_test_files() by hoisting an invariant
test out of a loop.

Revision 38656 - Directory Listing
Modified Tue Sep 27 22:35:06 2005 UTC (9 years, 9 months ago) by tim_one
Adding a --usecompiled option, so that the test runner can be used in trees where the .py files have been removed (after compiling to .pyc/.pyo).

Revision 38655 - Directory Listing
Modified Tue Sep 27 20:12:33 2005 UTC (9 years, 9 months ago) by tim_one
``identifier`` regexp:

1. Simplified.

2. Changed to match identifiers.  The way it was written it
   required at least two characters (so, e.g., would not
   match "a" or "X").  If that wasn't a bug, sorry, but
   then there should have been a comment explaining why.  As
   is, it looked plainly wrong.

Revision 38654 - Directory Listing
Modified Tue Sep 27 19:44:36 2005 UTC (9 years, 9 months ago) by tim_one
Another typo.

Revision 38653 - Directory Listing
Modified Tue Sep 27 19:41:32 2005 UTC (9 years, 9 months ago) by tim_one
Typo in docstring.

Revision 38181 - Directory Listing
Modified Tue Aug 30 22:01:11 2005 UTC (9 years, 10 months ago) by mj
Massive style cleanup: Move to new raise exception style; for motivation, see:

  http://permalink.gmane.org/gmane.comp.web.zope.zope3/13884

Revision 38101 - Directory Listing
Modified Fri Aug 26 15:39:41 2005 UTC (9 years, 10 months ago) by benji_york
- remove unneeded comment
- add missing "." to profile data file prefix

Revision 38078 - Directory Listing
Modified Wed Aug 24 20:23:18 2005 UTC (9 years, 10 months ago) by benji_york
fixed bug in profiling with layers in subprocesses (with tests)

Revision 38071 - Directory Listing
Modified Wed Aug 24 17:32:25 2005 UTC (9 years, 10 months ago) by benji_york
add profiling support with test
(because of bug in 2.4.1 and earlier, only works when Python is run with -O)


Revision 38027 - Directory Listing
Modified Mon Aug 22 21:53:48 2005 UTC (9 years, 10 months ago) by benji_york
rework code coverage to hook earlier so all executed lines are recorded

Revision 37962 - Directory Listing
Modified Tue Aug 16 15:00:00 2005 UTC (9 years, 10 months ago) by benji_york
remove the need to redirect sys.stderr by creating a subclass of trace.Ignore
that knows to ignore "files" generated by doctest; whitespace fixes

Revision 37941 - Directory Listing
Modified Mon Aug 15 17:46:06 2005 UTC (9 years, 10 months ago) by benji_york
fixed failing coverage tests on Windows because of platform-specific naming
conventions

Revision 37940 - Directory Listing
Modified Mon Aug 15 17:10:22 2005 UTC (9 years, 10 months ago) by benji_york
make tests more tolerant of different testing environments

Revision 37938 - Directory Listing
Modified Mon Aug 15 15:07:00 2005 UTC (9 years, 10 months ago) by benji_york
add reporting of uncovered lines

includes minor hack: the trace module complains about not being able to open
the wierd module paths for test-generated modules, so I redirected stderr for
that test to stdout and let the ellipsis eat the messages.

Revision 37935 - Directory Listing
Modified Mon Aug 15 11:55:32 2005 UTC (9 years, 10 months ago) by benji_york
removed unneccesary (and non-working) code to dump results to a file, if we
really want that functionality, we can add another command line option

Revision 37931 - Directory Listing
Modified Mon Aug 15 04:17:57 2005 UTC (9 years, 10 months ago) by benji_york
add support for --coverage switch (with tests)

Revision 37930 - Directory Listing
Modified Mon Aug 15 00:18:45 2005 UTC (9 years, 10 months ago) by benji_york
fix typo

Revision 37929 - Directory Listing
Modified Mon Aug 15 00:13:11 2005 UTC (9 years, 10 months ago) by benji_york
make some strings containing regex escapes "raw"

Revision 37538 - Directory Listing
Modified Fri Jul 29 14:30:56 2005 UTC (9 years, 11 months ago) by fdrake
add comments pointing to zope.testbrowser

Revision 37407 - Directory Listing
Modified Mon Jul 25 14:33:26 2005 UTC (9 years, 11 months ago) by jim
Fixed a bug in handlint triple-verbose output on combination with
post-mortem debugging.  Also, made post-mortem debugging act more like
normal test runs wrt it's interaction with the test result.

Revision 33303 - Directory Listing
Modified Wed Jul 13 22:28:33 2005 UTC (9 years, 11 months ago) by jim
Changed to pass the testrunner failure status to sys.exit.

Revision 33302 - Directory Listing
Modified Wed Jul 13 22:24:08 2005 UTC (9 years, 11 months ago) by jim
The test runner now returns a boolean indicating whether there were
failures.

Revision 33297 - Directory Listing
Modified Wed Jul 13 14:46:04 2005 UTC (9 years, 11 months ago) by fdrake
add a comment about a possible useful extension

Revision 33295 - Directory Listing
Modified Wed Jul 13 12:02:58 2005 UTC (9 years, 11 months ago) by jim
Handle attempts to use pdb for tests running in layers run in
subprocesses. We can't use pdb in these situations, but the test
runner needs to detect such attempts and provide some informative
output -- rather than hang.

Revision 33278 - Directory Listing
Modified Tue Jul 12 11:45:54 2005 UTC (9 years, 11 months ago) by jim
Changed layer ordering so that layers are run in more nearly
layer-name order.

Revision 33263 - Directory Listing
Modified Mon Jul 11 12:04:51 2005 UTC (9 years, 11 months ago) by jim
Prevent using post-mortem debugging in a subprocess.

Revision 31022 - Directory Listing
Modified Thu Jul 7 19:57:22 2005 UTC (10 years ago) by jim
Fixed bug in symlink handling.

Revision 30975 - Directory Listing
Modified Fri Jul 1 19:19:06 2005 UTC (10 years ago) by jim
Changed the strategy for setting the path when the test runner is run
as a subprocess, which should only happen when it's own tests are run.

Revision 30974 - Directory Listing
Modified Fri Jul 1 18:55:42 2005 UTC (10 years ago) by jim
Be even more pessimistic about how slow machines can be.

Revision 30973 - Directory Listing
Modified Fri Jul 1 18:45:07 2005 UTC (10 years ago) by jim
Made one of the output-comparison regular expressions more tolerant of
slow machines when running the test runner's own tests.

Revision 30972 - Directory Listing
Modified Fri Jul 1 17:41:38 2005 UTC (10 years ago) by jim
Work around some windows issues.

Revision 30971 - Directory Listing
Modified Fri Jul 1 17:23:12 2005 UTC (10 years ago) by jim
Added the capability to run remaining layers in a subprocess when a
layer can't be torn down.

Revision 30964 - Directory Listing
Modified Thu Jun 30 22:45:23 2005 UTC (10 years ago) by fdrake
make sure we do not lose fields that are repeated

Revision 30957 - Directory Listing
Modified Thu Jun 30 13:31:46 2005 UTC (10 years ago) by jim
Changed to adress different pdb behavior between Python 2.3 and 2.4.
(Also removed some machine-specific paths.)

Revision 30942 - Directory Listing
Modified Tue Jun 28 13:59:49 2005 UTC (10 years ago) by jim
Finished debugging support, including tests.

Revision 30919 - Directory Listing
Modified Sat Jun 25 12:34:33 2005 UTC (10 years ago) by jim
Added logic to make sure that, when looking for tests, we don't
descend into non packages.

Revision 30915 - Directory Listing
Modified Fri Jun 24 22:20:42 2005 UTC (10 years ago) by benji_york
- tweak to make last example more understandable
- spelling and formatting fixes

Revision 30914 - Directory Listing
Modified Fri Jun 24 22:06:58 2005 UTC (10 years ago) by benji_york
make the top-level script executable

Revision 30913 - Directory Listing
Modified Fri Jun 24 20:39:59 2005 UTC (10 years ago) by jim
Added a test for -1 option.

In doing this, I realized that the tests could be made to fail if the
test runner running the tests used the -1 option.  Added code to reset
doctest formatting options before running tests, restoring the old
values afterwards.

Removed entries for the test runner in import-error tracebacks.  This
was to avoid changeable output (testrunner implementation line
numbers) but also makes test-module-import errors less cluttered.

Revision 30912 - Directory Listing
Modified Fri Jun 24 18:52:48 2005 UTC (10 years ago) by jim
Checking in files that I meant to check in before. Hm.

Revision 30503 - Directory Listing
Modified Wed May 25 18:56:06 2005 UTC (10 years, 1 month ago) by tim_one
spelling

Revision 30502 - Directory Listing
Modified Wed May 25 18:36:00 2005 UTC (10 years, 1 month ago) by tim_one
Spelling.

Revision 30501 - Directory Listing
Modified Wed May 25 17:40:56 2005 UTC (10 years, 1 month ago) by tim_one
Enable $Id$ keyword expansion in the Python files.

Revision 30500 - Directory Listing
Modified Wed May 25 17:25:45 2005 UTC (10 years, 1 month ago) by tim_one
Most of these were missing svn:eol-style.

Revision 30499 - Directory Listing
Modified Wed May 25 17:08:28 2005 UTC (10 years, 1 month ago) by tim_one
Whitespace normalization (ran Python's reindent.py over 'em).

Revision 30498 - Directory Listing
Modified Wed May 25 15:54:07 2005 UTC (10 years, 1 month ago) by jim
Modified the normalizing regular expressions to ignore traceback
entries for unittest.py and doctest.py, which are highly subject to
change.

Revision 30493 - Directory Listing
Modified Tue May 24 21:47:17 2005 UTC (10 years, 1 month ago) by jim
Ordered tests by directory/file name.

Revision 30492 - Directory Listing
Modified Tue May 24 20:28:53 2005 UTC (10 years, 1 month ago) by jim
Two new features at once:

- renormalizing module for using regular expressions to normalize
  expected and actual outputs to deal with variable data such as 
  addresses, times, and paths

- Initial cut at new test runner.  Have documentation and tests for
  basic features for selecting and running tests and for displaying
  errors.

(Documentation and tests for advanced features will come as I have
  time.)

Revision 30491 - Directory Listing
Modified Tue May 24 20:28:14 2005 UTC (10 years, 1 month ago) by jim
Made zope a package

Revision 30371 - Directory Listing
Modified Mon May 16 17:09:01 2005 UTC (10 years, 1 month ago) by jim
Creating a tag for the initial split of zope.testing into separate area.

Revision 30365 - Directory Listing
Modified Mon May 16 14:50:50 2005 UTC (10 years, 1 month ago) by jim
Creating separate project for zope.testing.

Revision 30364 - Directory Listing
Modified Mon May 16 14:43:48 2005 UTC (10 years, 1 month ago) by jim
Filling out hierarchy

Revision 30363 - Directory Listing
Modified Mon May 16 14:39:53 2005 UTC (10 years, 1 month ago) by jim
Filling out hierarchy

Revision 30362 - Directory Listing
Modified Mon May 16 14:36:38 2005 UTC (10 years, 1 month ago) by jim
Filling out hierarchy

Revision 30361 - Directory Listing
Added Mon May 16 14:36:14 2005 UTC (10 years, 1 month ago) by jim
Creating a separate project for the zope.testing package.

Sort log by:

zope.org Infrastructure
ViewVC Help
Powered by ViewVC 1.0.3