CVS log for Zope3/test.py

Zope

Help

(back) Up to [Zope] / Zope3

Request diff between arbitrary revisions / Display revisions graphically


Default branch: MAIN
Bookmark a link to: HEAD / (download)

Revision Tasks Diffs Branches and Tags Age Author
1.100 Download
View as text
View 1.100
View annotated
[select for diffs]
Diff to previous 1.99
MAIN
8 years, 1 month ago
Thu Apr 15 14:29:34 2004
jim
Log:
Disabled a check for the presense of functional testing support. The
idea was to try to make test.py useful for other systems without
functional tests. Unfortunately, there are still other issues
preventing use of test.py elsewhere and this check wasn't done
corectly. It only worked correctly if the unit tests were run first.
1.99 Download
View as text
View 1.99
View annotated
[select for diffs]
Diff to previous 1.98
MAIN
 
8 years, 1 month ago
Fri Apr 9 14:15:11 2004
fdrake
Log:
- we need to actually call configure_logging(), before the PathInit
constructor (potentially) changes the directory
- remove some crufty attempt to make zLOG behave that couldn't work
(and didn't!)
1.98 Download
View as text
View 1.98
View annotated
[select for diffs]
Diff to previous 1.97
MAIN
 
8 years, 1 month ago
Thu Apr 8 20:55:17 2004
fdrake
Log:
move a comment to the docstring
1.97 Download
View as text
View 1.97
View annotated
[select for diffs]
Diff to previous 1.96
MAIN
 
8 years, 1 month ago
Thu Apr 8 20:20:30 2004
fdrake
Log:
logging configuration is evil; isolate it
1.96 Download
View as text
View 1.96
View annotated
[select for diffs]
Diff to previous 1.95
MAIN
 
8 years, 1 month ago
Tue Apr 6 20:12:17 2004
jim
Log:
Graham Fawcett's changes made at the PyCon 2004 Zope 3 sprint:

- Run both unit and functional tests by default

- Provide long versions of all options

- Clean up some command line options:

From Graham:

"""
-m
is deprecated (in favour of -M).

-M and -U
become the flags for minimal and full GUI. Equivalent to
--minimal-gui and --gui, respectively.

-f
unchanged; still specifies that only functional tests are to be
run. Equivalent to --skip-unit.

-u
changed; now specifies that only unit tests are to be run.
Equivalent to the long name --skip-functional.

-F
(run both unit and functional) is deprecated, since this is the
default behaviour.

This is favourable to using -U and -F for the "unit" and "functional",
because -F already has a meaning that's too similar. I would suggest
that it's much better to "break" options that have immediate visual
consequences (the appearance or lack of a GUI) rather than those which
might be harder to detect (which subsets of tests are executed). Old-
time users shouldn't have much difficulty adapting to the -U and -M
options, I hope.
"""

- Added support for a configuration file to set default options.

Eventually, we'll, hopefully. be able to leverage this to make test.py
usable for other projects (e.g. Zope 2 and ZODB).

Thanks Graham!
1.95 Download
View as text
View 1.95
View annotated
[select for diffs]
Diff to previous 1.94
MAIN
 
8 years, 1 month ago
Tue Apr 6 19:57:58 2004
jim
Log:
Moved the functional tests to zope.app, since they depend on zope.app.
1.94 Download
View as text
View 1.94
View annotated
[select for diffs]
Diff to previous 1.93
MAIN
8 years, 2 months ago
Wed Mar 17 22:04:07 2004
fdrake
Log:
argh!
we can't do that because then the zLOG and zdaemon tests fail
1.93 Download
View as text
View 1.93
View annotated
[select for diffs]
Diff to previous 1.92
MAIN
 
8 years, 2 months ago
Wed Mar 17 21:05:34 2004
srichter
Log:
Removed TABs in code.
1.92 Download
View as text
View 1.92
View annotated
[select for diffs]
Diff to previous 1.91
MAIN
 
8 years, 2 months ago
Wed Mar 17 20:59:19 2004
fdrake
Log:
explain what we're doing with zLOG
1.91 Download
View as text
View 1.91
View annotated
[select for diffs]
Diff to previous 1.90
MAIN
 
8 years, 2 months ago
Wed Mar 17 20:45:40 2004
fdrake
Log:
if we have zLOG, don't allow it to clobber our initialization
1.90 Download
View as text
View 1.90
View annotated
[select for diffs]
Diff to previous 1.89
MAIN
 
8 years, 2 months ago
Wed Mar 17 20:15:30 2004
fdrake
Log:
Make the logging configuration make a little more sense. Use the
LOGGING environment variable as an override if present, but don't
clobber a setting from log.ini if LOGGING is not defined.
1.89 Download
View as text
View 1.89
View annotated
[select for diffs]
Diff to previous 1.88
MAIN
 
8 years, 2 months ago
Tue Mar 16 05:15:16 2004
jeremy
Log:
Simplify.

Uniform handling of errors in get_suite() allows this code to be
simplified.
1.88 Download
View as text
View 1.88
View annotated
[select for diffs]
Diff to previous 1.87
MAIN
 
8 years, 2 months ago
Tue Mar 16 05:11:02 2004
jeremy
Log:
Report test error when potential test suite module can't be imported.
Add docstring that explains rules for finding tests.
Reflow some paragraphs.
1.87 Download
View as text
View 1.87
View annotated
[select for diffs]
Diff to previous 1.86
MAIN
 
8 years, 2 months ago
Mon Mar 15 20:41:38 2004
jim
Log:
Added basic post-mortem-debugging support for doctests. Only
unexpected exceptions are handled. We still need to think about how to
handle debugging mismatched output.

I'm not very happy with the way this is done now. But it works.
1.86 Download
View as text
View 1.86
View annotated
[select for diffs]
Diff to previous 1.85
MAIN
 
8 years, 2 months ago
Mon Mar 8 17:42:11 2004
mgedmin
Log:
Changed the test runner to ignore docstrings on unit tests and always show IDs.
1.83.2.1 Download
View as text
View 1.83.2.1
View annotated
[select for diffs]
Diff to previous 1.83
philikon-movecontent-branch
Diff to next MAIN 1.84
 
8 years, 2 months ago
Mon Feb 23 17:50:56 2004
philikon
Log:
Merge essential bugfixes from HEAD in order to make functional tests pass.
1.85 Download
View as text
View 1.85
View annotated
[select for diffs]
Diff to previous 1.84
MAIN
8 years, 2 months ago
Fri Feb 20 16:56:40 2004
fdrake
Log:


- allow multiple --dir options to be given
- add set_trace_doctest() to pdb to allow setting breakpoints in doctests
1.84 Download
View as text
View 1.84
View annotated
[select for diffs]
Diff to previous 1.83
MAIN
 
8 years, 2 months ago
Tue Feb 17 18:43:44 2004
mgedmin
Log:
Fixed a buglet in the test runner that caused it to run unit tests from
tests.py when it should have run functional tests from ftests.py.

Added a note to doc/FTEST.txt saying that functional tests are incompatible
with the CleanUp helper.

Fixed a typo in placelesssetup.py
1.83.6.2 Download
View as text
View 1.83.6.2
View annotated
[select for diffs]
Diff to previous 1.83.6.1
ozzope-session-branch
Diff to next MAIN 1.84
Diff to branch point 1.83
 
8 years, 3 months ago
Sun Feb 8 03:20:46 2004
Zen
Log:
Revert acceidental change
1.83.6.1 Download
View as text
View 1.83.6.1
View annotated
[select for diffs]
Diff to previous 1.83
ozzope-session-branch
 
8 years, 3 months ago
Sun Feb 8 03:19:00 2004
Zen
Log:
Non-service session design and initial Browser Id Manager Utility
implementation.
1.80.2.2 Download
View as text
View 1.80.2.2
View annotated
[select for diffs]
Diff to previous 1.80.2.1
zope3-zodb3-devel-branch
Diff to next MAIN 1.81
Diff to branch point 1.80
 
8 years, 3 months ago
Sun Feb 1 15:07:05 2004
jim
Log:
Added a helper function, set_trace_doctest, installed in pdb that
allows us to use pdb from doctests or code called by doctests.
1.83 Download
View as text
View 1.83
View annotated
[select for diffs]
Diff to previous 1.82
MAIN
Branch point for: philikon-movecontent-branch
ozzope-session-branch
8 years, 3 months ago
Wed Jan 21 15:41:59 2004
gintautasm
Log:
Typo.
1.82 Download
View as text
View 1.82
View annotated
[select for diffs]
Diff to previous 1.81
MAIN
 
8 years, 3 months ago
Tue Jan 20 16:49:01 2004
fdrake
Log:
make -F and out of place builds (-b) work; there's no need to chdir
twice!
1.80.2.1 Download
View as text
View 1.80.2.1
View annotated
[select for diffs]
Diff to previous 1.80
zope3-zodb3-devel-branch
 
8 years, 4 months ago
Fri Jan 16 20:42:45 2004
fdrake
Log:
allow --dir to be passed more than once to include different parts of
the source tree
1.81 Download
View as text
View 1.81
View annotated
[select for diffs]
Diff to previous 1.80
MAIN
 
8 years, 4 months ago
Thu Jan 15 21:17:46 2004
gintautasm
Log:
Added capability to run both unit and functional tests in one command (-F).
1.80 Download
View as text
View 1.80
View annotated
[select for diffs]
Diff to previous 1.79
MAIN
Branch point for: zope3-zodb3-devel-branch
8 years, 5 months ago
Fri Dec 12 22:24:02 2003
sidnei
Log:
Thanks for Stephan for pointing the typo
1.79 Download
View as text
View 1.79
View annotated
[select for diffs]
Diff to previous 1.78
MAIN
 
8 years, 5 months ago
Fri Dec 12 22:14:03 2003
sidnei
Log:
Added '-P' switch for running profile (using hotshot) on tests. see doc/CHANGES.txt and the docstring for more info.
1.78 Download
View as text
View 1.78
View annotated
[select for diffs]
Diff to previous 1.77
MAIN
8 years, 5 months ago
Wed Dec 3 08:46:24 2003
jim
Log:
Allow "tests" modules to be ordinary modules, rather than packages.
1.77 Download
View as text
View 1.77
View annotated
[select for diffs]
Diff to previous 1.76
MAIN
 
8 years, 5 months ago
Fri Nov 21 17:10:33 2003
jim
Log:
When showing reference counts (-Lr), don't include an output line for
strs if the only object affected is the dummy key used internally by
the dictionary implementation.
1.75.6.1 Download
View as text
View 1.75.6.1
View annotated
[select for diffs]
Diff to previous 1.75
adaptergeddon-branch
Diff to next MAIN 1.76
 
8 years, 6 months ago
Thu Nov 6 12:35:08 2003
jim
Log:
Imporved -Lr output:

Added some logic to avoid confusion in tracking reference count of a
special string used as a dictionary dummy key. This string causes
random fluctuations in ref counts independent of memory leaks.

Added a heading row for the per-type reference count output.
1.76 Download
View as text
View 1.76
View annotated
[select for diffs]
Diff to previous 1.75
MAIN
8 years, 6 months ago
Thu Oct 30 08:15:30 2003
philikon
Log:
Python 2.3.2 is required now.
1.75 Download
View as text
View 1.75
View annotated
[select for diffs]
Diff to previous 1.74
MAIN
Branch point for: adaptergeddon-branch
8 years, 7 months ago
Mon Sep 22 21:37:22 2003
jim
Log:
Updated the logic that checks for orphaned threads to ignore
stopped threads.
1.74 Download
View as text
View 1.74
View annotated
[select for diffs]
Diff to previous 1.73
MAIN
 
8 years, 7 months ago
Mon Sep 22 15:26:05 2003
tim_one
Log:
ImmediateTestResult. startTest() and stopTest(): Print a message whenever
a test creates a Thread object and leaves it running beyond the end of
the test. Such tests should be changed not to leave Threads behind (the
Threads continue to consume resources for the remainder of the test suite
run, and can create problems during Python shutdown at the end of the run).

A "test.py !zeo" run left behind 4 Threads for me just now:

testDirectService (zope.app.mail.tests.test_directives.DirectivesTest)
New thread(s): [<QueueProcessorThread(Thread-427, started daemon)>]

testQueuedService (zope.app.mail.tests.test_directives.DirectivesTest)
New thread(s): [<QueueProcessorThread(Thread-428, started daemon)>]

testSMTPMailer (zope.app.mail.tests.test_directives.DirectivesTest)
New thread(s): [<QueueProcessorThread(Thread-429, started daemon)>]

testSendmailMailer (zope.app.mail.tests.test_directives.DirectivesTest)
New thread(s): [<QueueProcessorThread(Thread-430, started daemon)>]

All of those are daemon threads and stay alive "forever".
1.73 Download
View as text
View 1.73
View annotated
[select for diffs]
Diff to previous 1.72
MAIN
 
8 years, 7 months ago
Sun Sep 21 16:29:54 2003
jim
Log:
When -D is used to enter the post-mortem debugger on a failed test,
print the error type and value.
1.72 Download
View as text
View 1.72
View annotated
[select for diffs]
Diff to previous 1.71
MAIN
 
8 years, 7 months ago
Thu Sep 18 17:59:25 2003
mgedmin
Log:
Better terminal width detection method (one that does not change tty mode and
does not print random escapes to the screen).
1.71 Download
View as text
View 1.71
View annotated
[select for diffs]
Diff to previous 1.70
MAIN
 
8 years, 8 months ago
Fri Sep 12 13:45:22 2003
chrisw
Log:
Add error output if tests aren't run when test.py --all is used. This doesn't feel graceful to me, but I can't think of anything better...
Alternative solutions welcome.
1.70.8.3 Download
View as text
View 1.70.8.3
View annotated
[select for diffs]
Diff to previous 1.70.8.2
parentgeddon-branch
Diff to next MAIN 1.71
Diff to branch point 1.70
 
8 years, 8 months ago
Tue Sep 9 19:32:14 2003
jim
Log:
got more tests to pass on branch
1.70.8.2 Download
View as text
View 1.70.8.2
View annotated
[select for diffs]
Diff to previous 1.70.8.1
parentgeddon-branch
Diff to branch point 1.70
 
8 years, 8 months ago
Tue Sep 9 18:22:20 2003
jim
Log:
got more tests to pass on branch
1.70.8.1 Download
View as text
View 1.70.8.1
View annotated
[select for diffs]
Diff to previous 1.70
parentgeddon-branch
 
8 years, 8 months ago
Mon Sep 8 17:21:22 2003
jim
Log:
Checking in work in progress on parentgeddon-branch so Fred can help
me to get the tests passing. Specific log entries will be provided
when we merge this into the head.
1.70 Download
View as text
View 1.70
View annotated
[select for diffs]
Diff to previous 1.69
MAIN
Branch point for: parentgeddon-branch
8 years, 9 months ago
Wed Jul 30 17:36:58 2003
jim
Log:
Removed a debugging print statement.
1.69 Download
View as text
View 1.69
View annotated
[select for diffs]
Diff to previous 1.68
MAIN
 
8 years, 9 months ago
Wed Jul 30 13:34:34 2003
jim
Log:
Added an error check for bad paths given to --dir.

Also added code to try to prepend src (actually the base lib path)
to the --dir argument if it doesn't exist.
1.68 Download
View as text
View 1.68
View annotated
[select for diffs]
Diff to previous 1.67
MAIN
 
8 years, 9 months ago
Tue Jul 22 07:06:46 2003
mgedmin
Log:
Copied Python version check from z3.py to test.py
1.67 Download
View as text
View 1.67
View annotated
[select for diffs]
Diff to previous 1.66
MAIN
8 years, 10 months ago
Tue Jul 1 13:02:06 2003
tim_one
Log:
Stop spurious errors in test_datetime. We need to approach converting
warnings->errors in some other way.
1.66 Download
View as text
View 1.66
View annotated
[select for diffs]
Diff to previous 1.65
MAIN
 
8 years, 10 months ago
Mon Jun 30 21:43:17 2003
jeremy
Log:
Make warnings errors for testing, except for logging, which we don't control.
1.65 Download
View as text
View 1.65
View annotated
[select for diffs]
Diff to previous 1.64
MAIN
8 years, 10 months ago
Mon Jun 30 15:26:30 2003
jim
Log:
Added --build as an equivalent option to -b.
1.64 Download
View as text
View 1.64
View annotated
[select for diffs]
Diff to previous 1.63
MAIN
8 years, 10 months ago
Tue Jun 24 18:27:28 2003
jeremy
Log:
Restore the log.ini added last week and use it from test.py.

The log.ini was also used by z3.py to configure logging. It was just
a bug that test.py didn't try to load it.
1.63 Download
View as text
View 1.63
View annotated
[select for diffs]
Diff to previous 1.62
MAIN
 
8 years, 10 months ago
Tue Jun 24 08:00:49 2003
mgedmin
Log:
Clarified some points in test.py docstring.
1.59.2.1 Download
View as text
View 1.59.2.1
View annotated
[select for diffs]
Diff to previous 1.59
cw-mail-branch
Diff to next MAIN 1.60
8 years, 10 months ago
Sun Jun 22 13:22:19 2003
gregweb
Log:
Synced up with HEAD
1.62 Download
View as text
View 1.62
View annotated
[select for diffs]
Diff to previous 1.61
MAIN
8 years, 11 months ago
Tue Jun 17 13:20:12 2003
mgedmin
Log:
The test runner now follows symlinks. This enables you to run unit and
functional tests for products that are checked out in a different CVS
sandbox and just symlinked from $ZOPE_3_SANDBOX_ROOT/src/zopeproducts.
1.61 Download
View as text
View 1.61
View annotated
[select for diffs]
Diff to previous 1.60
MAIN
 
8 years, 11 months ago
Wed Jun 11 07:14:29 2003
mgedmin
Log:
Make test.py work with --libdir that ends in a slash.
1.60 Download
View as text
View 1.60
View annotated
[select for diffs]
Diff to previous 1.59
MAIN
8 years, 11 months ago
Wed May 28 18:28:38 2003
fdrake
Log:
Be more tolerant of running with output directed to a pipe.
1.59 Download
View as text
View 1.59
View annotated
[select for diffs]
Diff to previous 1.58
MAIN
Branch point for: cw-mail-branch
9 years ago
Wed May 14 08:14:56 2003
gotcha
Log:
- doc for the new dir option

- new keepbytecode option : on Cygwin, directory walking is very slow.
keepbytecode avoids the directory walking to delete bytecode, allowing faster
tests run while developing
1.58 Download
View as text
View 1.58
View annotated
[select for diffs]
Diff to previous 1.57
MAIN
 
9 years ago
Tue May 13 18:28:18 2003
jim
Log:
Added a --dir option to limit where tests are searched for. This is
important when you *really* want to limit the code that gets run.
For example, when refactoring interfaces, I didn't want to see the way
I had broken setups for tests in other packages. I *just* wanted to
run the interface tests.
1.57 Download
View as text
View 1.57
View annotated
[select for diffs]
Diff to previous 1.56
MAIN
9 years, 1 month ago
Fri Apr 18 13:06:54 2003
jeremy
Log:
Don't import a package unless it matches the test module regex.

The code that searched for test modules matching a particular regex
also imported every package it encountered along the way. Change the
logic to only import a package if it has a module that matches. Makes
running individual test modules much faster.
1.56 Download
View as text
View 1.56
View annotated
[select for diffs]
Diff to previous 1.55
MAIN
9 years, 1 month ago
Wed Apr 16 19:51:23 2003
fdrake
Log:
Clean up a minor presentation nit.
1.55 Download
View as text
View 1.55
View annotated
[select for diffs]
Diff to previous 1.54
MAIN
 
9 years, 1 month ago
Mon Apr 14 11:19:27 2003
mgedmin
Log:
Functional testing framework for Zope 3:
- based on http://dev.zope.org/Zope3/FunctionalTestingFramework
- doc/FTEST.txt contains a short description of the framework
- test.py -f runs functional tests
- ftesting.zcml is the equivalent of site.zcml for functional tests
(it hardcodes some principals with simple passwords; wouldn't want to do
that in the real site.zcml)
- src/zope/app/content/ftests/test_file.py is an example functional test
1.54 Download
View as text
View 1.54
View annotated
[select for diffs]
Diff to previous 1.53
MAIN
 
9 years, 1 month ago
Fri Apr 11 11:27:09 2003
mgedmin
Log:
Added shebang line to test.py
1.53 Download
View as text
View 1.53
View annotated
[select for diffs]
Diff to previous 1.52
MAIN
 
9 years, 1 month ago
Wed Apr 9 08:15:51 2003
mgedmin
Log:
Updated list of allowed options at the top of the test.py help message
Removed duplicate description of -v
Print a warning message when -r is specified but cannot work
1.52 Download
View as text
View 1.52
View annotated
[select for diffs]
Diff to previous 1.51
MAIN
 
9 years, 1 month ago
Wed Apr 9 08:11:08 2003
stevea
Log:
Clarified what "a python debug build" means.
1.51 Download
View as text
View 1.51
View annotated
[select for diffs]
Diff to previous 1.50
MAIN
 
9 years, 1 month ago
Wed Apr 9 08:09:03 2003
stevea
Log:
Added note that the -r option to look for refcount problems requires
a debugging build of Python.
1.50 Download
View as text
View 1.50
View annotated
[select for diffs]
Diff to previous 1.49
MAIN
 
9 years, 1 month ago
Wed Apr 9 08:06:28 2003
stevea
Log:
Removed tabs and some extraneous spaces.
1.49 Download
View as text
View 1.49
View annotated
[select for diffs]
Diff to previous 1.48
MAIN
 
9 years, 1 month ago
Tue Apr 8 12:57:17 2003
fdrake
Log:
process_args(): Once we've set up a local argv, use that instead of
going back to sys to get the args.
1.48 Download
View as text
View 1.48
View annotated
[select for diffs]
Diff to previous 1.47
MAIN
 
9 years, 1 month ago
Mon Apr 7 08:45:16 2003
stevea
Log:
Made the printout of garbage more obvious.
Added a comment about possibly eating the garbage. (yum.)
1.47 Download
View as text
View 1.47
View annotated
[select for diffs]
Diff to previous 1.46
MAIN
 
9 years, 1 month ago
Thu Apr 3 15:24:29 2003
jeremy
Log:
Add -r option to track refcount problems.
1.46 Download
View as text
View 1.46
View annotated
[select for diffs]
Diff to previous 1.45
MAIN
 
9 years, 1 month ago
Wed Apr 2 19:50:25 2003
tim_one
Log:
"-g integer" wasn't working; fixed.
1.45 Download
View as text
View 1.45
View annotated
[select for diffs]
Diff to previous 1.44
MAIN
 
9 years, 1 month ago
Wed Apr 2 19:25:06 2003
bwarsaw
Log:
process_args(): Both -g and -G take options.
1.44 Download
View as text
View 1.44
View annotated
[select for diffs]
Diff to previous 1.43
MAIN
9 years, 1 month ago
Wed Mar 26 15:45:47 2003
fdrake
Log:
- getShortDescription(): deal with really long method names better;
always trim the result to self._maxWidth (simplifies the call site)
- make it possible to set the number of test timings reported
- make it possible to writing timing information to a file
1.43 Download
View as text
View 1.43
View annotated
[select for diffs]
Diff to previous 1.42
MAIN
 
9 years, 1 month ago
Wed Mar 26 10:43:23 2003
bringi
Log:
- added hint for possible breaking test runner
1.42 Download
View as text
View 1.42
View annotated
[select for diffs]
Diff to previous 1.41
MAIN
 
9 years, 1 month ago
Tue Mar 25 22:51:24 2003
fdrake
Log:
getShortDescription(): simplify -- don't worry about showing 4 dots
instead of three when truncating a module name; leaving an extra
dot actually causes there to be less visual "flash".
1.41 Download
View as text
View 1.41
View annotated
[select for diffs]
Diff to previous 1.40
MAIN
 
9 years, 1 month ago
Tue Mar 25 17:54:10 2003
fdrake
Log:
- determine actual terminal width if curses is available
- avoid over-padding just to trim to self._maxWidth
- drop leading portion of test module name instead of trailing portion
when the whole thing doesn't fit on a line
1.40 Download
View as text
View 1.40
View annotated
[select for diffs]
Diff to previous 1.39
MAIN
 
9 years, 2 months ago
Thu Mar 13 18:48:52 2003
alga
Log:
An unexpected raid by the Whitespace Police.

Other than fixes of nonconforming whitespace, just a couple of $Id$
docstrings has been added.
1.39 Download
View as text
View 1.39
View annotated
[select for diffs]
Diff to previous 1.38
MAIN
9 years, 2 months ago
Wed Mar 12 23:39:22 2003
jeremy
Log:
Start trace mode earlier in test, so that module imports are traced.
1.38 Download
View as text
View 1.38
View annotated
[select for diffs]
Diff to previous 1.37
MAIN
9 years, 2 months ago
Mon Feb 24 22:57:24 2003
jeremy
Log:
Get rid of debugging print
1.37 Download
View as text
View 1.37
View annotated
[select for diffs]
Diff to previous 1.36
MAIN
9 years, 2 months ago
Sun Feb 23 19:38:46 2003
tseaver
Log:


Put back the implementation of the '--libdir' command line option.
That last merge was too promiscuous; it touched *lots* of lines it
had no business munging. I don't know whether other stuff still works
or not, but I can now use the utility to test my "third-party" package
again.
1.36 Download
View as text
View 1.36
View annotated
[select for diffs]
Diff to previous 1.35
MAIN
 
9 years, 2 months ago
Wed Feb 19 17:49:14 2003
jeremy
Log:
Merge features from ZODB3 test suite.

XXX Please test your favorite feature. There is no test suite for the
test script :-).
1.34.4.1 Download
View as text
View 1.34.4.1
View annotated
[select for diffs]
Diff to previous 1.34
paris-copypasterename-branch
Diff to next MAIN 1.35
9 years, 3 months ago
Tue Feb 11 14:40:44 2003
sidnei
Log:
Updating from HEAD to make sure everything still works before merging
1.35 Download
View as text
View 1.35
View annotated
[select for diffs]
Diff to previous 1.34
MAIN
 
9 years, 3 months ago
Wed Feb 5 14:15:48 2003
tseaver
Log:


- Add a command-line option, '--libdir', which changes the "prefix"
directory used by the test finder (the prefix will also be forced
into sys.path). This option allows a "product" developer to use the
test framework to run unit tests for product modules which are
outside the Zope3 source tree. Example usage:

$ python2.2 test.py --libdir ../zopeproducts
Running tests from /opt/home/tseaver/projects/Zope3/../zopeproducts
----------------------------------------------------------------------
Ran 26 tests in 0.103s

OK
1.34 Download
View as text
View 1.34
View annotated
[select for diffs]
Diff to previous 1.33
MAIN
Branch point for: paris-copypasterename-branch
9 years, 4 months ago
Wed Dec 25 14:12:09 2002
jim
Log:
Grand renaming:

- Renamed most files (especially python modules) to lower case.

- Moved views and interfaces into separate hierarchies within each
project, where each top-level directory under the zope package
is a separate project.

- Moved everything to src from lib/python.

lib/python will eventually go away. I need access to the cvs
repository to make this happen, however.

There are probably some bits that are broken. All tests pass
and zope runs, but I haven't tried everything. There are a number
of cleanups I'll work on tomorrow.
1.33.2.3 Download
View as text
View 1.33.2.3
View annotated
[select for diffs]
Diff to previous 1.33.2.2
NameGeddon-branch
Diff to next MAIN 1.34
Diff to branch point 1.33
 
9 years, 4 months ago
Tue Dec 24 17:27:32 2002
gvanrossum
Log:
Change logging policy for testing:
- Logging always goes to stderr.
- Environment variable LOGGING specifies the numeric logging level.
- Default logging level remains CRITICAL.
- NO more look for ini.log. (z3.py and runsvr.py still use it.)
1.33.2.2 Download
View as text
View 1.33.2.2
View annotated
[select for diffs]
Diff to previous 1.33.2.1
NameGeddon-branch
Diff to branch point 1.33
 
9 years, 4 months ago
Tue Dec 24 16:18:05 2002
bwarsaw
Log:
visit(), get_suite(): RuntimeErrors are used in both the package
import and the test module import to signal missing optional
software. Such tests are skipped and in verbose mode a message is
printed.

Coming up, patches to tests modules...
1.33.2.1 Download
View as text
View 1.33.2.1
View annotated
[select for diffs]
Diff to previous 1.33
NameGeddon-branch
 
9 years, 4 months ago
Mon Dec 23 19:39:27 2002
jim
Log:
Removed the stupid scripts.

Modified test to look in src.
1.33 Download
View as text
View 1.33
View annotated
[select for diffs]
Diff to previous 1.32
MAIN
Branch point for: NameGeddon-branch
 
9 years, 4 months ago
Fri Dec 20 22:20:43 2002
bwarsaw
Log:
main(): Try again, by getting the absolute path of the log.ini file
before the path hacking, but importing and init'ing logging after the
path hacking. XXX This isn't perfect because if log.ini specifies a
log file, it'll be relative to the build directory. Hmm...
1.32 Download
View as text
View 1.32
View annotated
[select for diffs]
Diff to previous 1.31
MAIN
 
9 years, 4 months ago
Fri Dec 20 22:14:38 2002
bwarsaw
Log:
main(): Move the logging setup to before we init the path.
1.31 Download
View as text
View 1.31
View annotated
[select for diffs]
Diff to previous 1.30
MAIN
 
9 years, 4 months ago
Fri Dec 20 19:35:14 2002
bwarsaw
Log:
Only print the "skipped" message when in VERBOSE mode
1.30 Download
View as text
View 1.30
View annotated
[select for diffs]
Diff to previous 1.29
MAIN
 
9 years, 4 months ago
Fri Dec 20 16:11:57 2002
bwarsaw
Log:
Cleanups
1.29 Download
View as text
View 1.29
View annotated
[select for diffs]
Diff to previous 1.28
MAIN
 
9 years, 4 months ago
Thu Dec 19 23:57:50 2002
bwarsaw
Log:
Add the -q flag to build but only in Python 2.2 (Python 2.3 is
betterly verbositic).
1.28 Download
View as text
View 1.28
View annotated
[select for diffs]
Diff to previous 1.27
MAIN
 
9 years, 4 months ago
Thu Dec 19 22:25:03 2002
bwarsaw
Log:
Fix the gui options
1.27 Download
View as text
View 1.27
View annotated
[select for diffs]
Diff to previous 1.26
MAIN
 
9 years, 4 months ago
Thu Dec 19 22:23:46 2002
bwarsaw
Log:
Whitespace normalization
1.26 Download
View as text
View 1.26
View annotated
[select for diffs]
Diff to previous 1.25
MAIN
 
9 years, 4 months ago
Thu Dec 19 22:23:26 2002
bwarsaw
Log:
Working code to run the tests from the build directory, and from the
source directory, depending on whether the -b or -B option was given.
If neither was given then we guess based on the existance of
build/lib.<plat>
1.25 Download
View as text
View 1.25
View annotated
[select for diffs]
Diff to previous 1.24
MAIN
 
9 years, 4 months ago
Thu Dec 19 20:50:19 2002
gvanrossum
Log:
Configure logging from log.ini
1.24 Download
View as text
View 1.24
View annotated
[select for diffs]
Diff to previous 1.23
MAIN
 
9 years, 4 months ago
Thu Dec 19 19:33:02 2002
gvanrossum
Log:
Primitive initialization for the logging module. For now, everything
below critical is ignored; critical is always logged. We need a
command line option to allow more flexible configuration.
1.23 Download
View as text
View 1.23
View annotated
[select for diffs]
Diff to previous 1.22
MAIN
 
9 years, 4 months ago
Thu Dec 19 18:33:07 2002
bwarsaw
Log:
.visit(): De-Unixification. Use os.sep instead of '/'
1.22 Download
View as text
View 1.22
View annotated
[select for diffs]
Diff to previous 1.21
MAIN
 
9 years, 4 months ago
Thu Dec 19 17:37:16 2002
bwarsaw
Log:
Coalesce command line switches between the versions in ZODB3, ZODB4,
and Zope3.
1.21 Download
View as text
View 1.21
View annotated
[select for diffs]
Diff to previous 1.20
MAIN
 
9 years, 4 months ago
Thu Dec 19 17:19:31 2002
bwarsaw
Log:
Moderately ugly hack to de-centralize skipping some tests when
dependencies fail, e.g. don't run the BDBStorage tests if the bsddb3
package isn't available.

Specifically, find_tests() passes the base path to TestFileFinder
constructor. Its .visit() method tries to import each tests package
and if that fails with a RuntimeError don't include that package's
tests.
1.20 Download
View as text
View 1.20
View annotated
[select for diffs]
Diff to previous 1.19
MAIN
9 years, 5 months ago
Wed Dec 11 23:42:58 2002
jeremy
Log:
Oops. Need to provide default value for TRACE.
1.19 Download
View as text
View 1.19
View annotated
[select for diffs]
Diff to previous 1.18
MAIN
 
9 years, 5 months ago
Wed Dec 11 21:49:58 2002
jeremy
Log:
Add experimental -T option for code coverage with unit tests.

XXX This only works if trace.py is importable. It lives in the Python
distribution's Tools/scripts directory and doesn't get installed
anywhere :-(.
1.18 Download
View as text
View 1.18
View annotated
[select for diffs]
Diff to previous 1.17
MAIN
 
9 years, 5 months ago
Wed Dec 11 17:24:28 2002
mgedmin
Log:
Make test.py -p -v do something more meaningful.
1.17 Download
View as text
View 1.17
View annotated
[select for diffs]
Diff to previous 1.16
MAIN
 
9 years, 5 months ago
Wed Dec 11 15:30:37 2002
fdrake
Log:
Make the columns not shift around too much; this actually makes it
easier to watch the values.
1.16 Download
View as text
View 1.16
View annotated
[select for diffs]
Diff to previous 1.15
MAIN
9 years, 5 months ago
Wed Dec 11 13:20:50 2002
mgedmin
Log:
Added -p option to test.py for a running progress counter
1.15 Download
View as text
View 1.15
View annotated
[select for diffs]
Diff to previous 1.14
MAIN
9 years, 5 months ago
Fri Nov 22 15:16:47 2002
jeremy
Log:
Add -D option that loads pdb when a test fails.
1.14 Download
View as text
View 1.14
View annotated
[select for diffs]
Diff to previous 1.13
MAIN
9 years, 7 months ago
Thu Oct 3 19:15:53 2002
jim
Log:
Added a debug function to facilitate post-mortem debugging of failed
tests.
1.13 Download
View as text
View 1.13
View annotated
[select for diffs]
Diff to previous 1.12
MAIN
 
9 years, 7 months ago
Wed Sep 18 14:05:50 2002
jim
Log:
Updated uses of Boolean fields to use True and False (rather than 1 and 0).
1.12 Download
View as text
View 1.12
View annotated
[select for diffs]
Diff to previous 1.11
MAIN
9 years, 9 months ago
Thu Aug 8 13:15:28 2002
fdrake
Log:
Clean up the check for pyexpat.
1.11 Download
View as text
View 1.11
View annotated
[select for diffs]
Diff to previous 1.10
MAIN
 
9 years, 9 months ago
Thu Aug 8 08:04:55 2002
chrisw
Log:
Attempt to get tests to run on a debian box with a python 2.2 source install and PyXML 0.8.
1.10 Download
View as text
View 1.10
View annotated
[select for diffs]
Diff to previous 1.9
MAIN
 
9 years, 10 months ago
Wed Jul 17 22:09:43 2002
jeremy
Log:
Check for get_suite() returning None.

Add -C option for pychecker.
1.9 Download
View as text
View 1.9
View annotated
[select for diffs]
Diff to previous 1.8
MAIN
 
9 years, 10 months ago
Wed Jul 10 21:58:13 2002
jeremy
Log:
Don't need to ignore ZopeLegacy any more. It's gone.
1.8 Download
View as text
View 1.8
View annotated
[select for diffs]
Diff to previous 1.7
MAIN
 
9 years, 10 months ago
Wed Jul 10 21:42:25 2002
jeremy
Log:
Add -G option to set gc debug flags.
1.7 Download
View as text
View 1.7
View annotated
[select for diffs]
Diff to previous 1.6
MAIN
 
9 years, 10 months ago
Mon Jul 1 16:50:58 2002
mj
Log:
Forgot to mention that the 'testfilter' filter is not supported (until
someone adds this to unittestgui.py).
1.6 Download
View as text
View 1.6
View annotated
[select for diffs]
Diff to previous 1.5
MAIN
 
9 years, 10 months ago
Mon Jul 1 16:45:49 2002
mj
Log:
Fix all occurences of "def test_suite(): pass".

The test runner no longer tolerates empty returns from test_suite(), and the
PyUnit GUI testrunner now runs exactly the same number of tests as the
command line version (currently 1904).
1.5 Download
View as text
View 1.5
View annotated
[select for diffs]
Diff to previous 1.4
MAIN
 
9 years, 10 months ago
Mon Jul 1 15:50:34 2002
mj
Log:
Expand to also allow use of unittestgui.py.

Limitation: in GUI mode, test modules are scanned for *all* classes which
inherit from unittest.TestCase. Normally only test cases returned from the
test_suite function are used. Unfortunately, unittestgui does not handle
cases were test_suite returns None.

Until test.py is fixed to not tolerate None returns from test_suite and
tests are fixed to return an empty test suite instead, unittestgui may run
more tests than the command-line version.
1.4 Download
View as text
View 1.4
View annotated
[select for diffs]
Diff to previous 1.3
MAIN
9 years, 10 months ago
Wed Jun 19 22:13:32 2002
jim
Log:
Added some extra output for import errors in tests, showing the file,
line number, and line with the bad import in a format that works with
emacs next-error.
1.3 Download
View as text
View 1.3
View annotated
[select for diffs]
Diff to previous 1.2
MAIN
9 years, 11 months ago
Tue Jun 11 15:02:22 2002
jim
Log:
Added check to omit whining about non-packages that are also empty.
1.2 Download
View as text
View 1.2
View annotated
[select for diffs]
Diff to previous 1.1
MAIN
 
9 years, 11 months ago
Mon Jun 10 22:27:34 2002
jim
Log:
Merged Zope-3x-branch into newly forked Zope3 CVS Tree.
1.1.2.15 Download
View as text
View 1.1.2.15
View annotated
[select for diffs]
Diff to previous 1.1.2.14
Zope-3x-branch
Diff to next MAIN 1.2
Diff to branch point 1.1
9 years, 11 months ago
Fri Jun 7 13:06:32 2002
jim
Log:
Moved the argument processing into a function to make it easier to run
tests from a Python prompt.
1.1.2.14 Download
View as text
View 1.1.2.14
View annotated
[select for diffs]
Diff to previous 1.1.2.13
Zope-3x-branch
Diff to branch point 1.1
 
9 years, 11 months ago
Thu Jun 6 15:42:33 2002
jeremy
Log:
Fix the -d (debug) option to also honor -v and -vv.

The fix involves further extending the ImmediateTestRunner and
ImmediateTestResult classes and ignoring the debug() method on a
TestSuite/TestCase provided by unittest.

If the debug flag is passed to ImmediateTestResult through the runner,
then it raises an exception instead of printing a formatted
traceback. The exception raised at this point avoids all the hairy
unittest mechanism to catch tracebacks.
1.1.2.13 Download
View as text
View 1.1.2.13
View annotated
[select for diffs]
Diff to previous 1.1.2.12
Zope-3x-branch
Diff to branch point 1.1
 
9 years, 11 months ago
Thu Jun 6 15:26:13 2002
bwarsaw
Log:
Add a -g option to control the gc threshold, and also recognize --help
as a synonym for -h.
1.1.2.12 Download
View as text
View 1.1.2.12
View annotated
[select for diffs]
Diff to previous 1.1.2.11
Zope-3x-branch
Diff to branch point 1.1
 
9 years, 11 months ago
Tue Jun 4 15:45:17 2002
jeremy
Log:
Add return in except clause.

If module doesn't have a test_suite() method, return None.
1.1.2.11 Download
View as text
View 1.1.2.11
View annotated
[select for diffs]
Diff to previous 1.1.2.10
Zope-3x-branch
Diff to branch point 1.1
 
9 years, 11 months ago
Tue Jun 4 15:44:44 2002
jeremy
Log:
Don't catch attribute errors raised during call to test_suite().
1.1.2.10 Download
View as text
View 1.1.2.10
View annotated
[select for diffs]
Diff to previous 1.1.2.9
Zope-3x-branch
Diff to branch point 1.1
 
9 years, 11 months ago
Fri May 31 22:19:36 2002
bwarsaw
Log:
Might as well crap out early if there's no pyexpat module in your
Python. I believe that Python 2.2 does /not/ come with pyexpat by
default but that Python 2.3 does.
1.1.2.9 Download
View as text
View 1.1.2.9
View annotated
[select for diffs]
Diff to previous 1.1.2.8
Zope-3x-branch
Diff to branch point 1.1
9 years, 11 months ago
Fri May 24 14:30:21 2002
fdrake
Log:
test.py is more widely applicable now.
1.1.2.8 Download
View as text
View 1.1.2.8
View annotated
[select for diffs]
Diff to previous 1.1.2.7
Zope-3x-branch
Diff to branch point 1.1
10 years ago
Wed Apr 24 14:11:28 2002
shane
Log:
Fixed case normalization in removing stale byte code and allowed options to be passed to stupid_build, for example to select which compiler to use.
1.1.2.6.4.1 Download
View as text
View 1.1.2.6.4.1
View annotated
[select for diffs]
Diff to previous 1.1.2.6
gary-pre_create_views-branch
Diff to next MAIN 1.1.2.7
 
10 years, 1 month ago
Wed Apr 3 02:01:08 2002
poster
Log:
license check; merge with current Zope-3x branch; small updates
1.1.2.7 Download
View as text
View 1.1.2.7
View annotated
[select for diffs]
Diff to previous 1.1.2.6
Zope-3x-branch
Diff to branch point 1.1
10 years, 1 month ago
Tue Apr 2 02:17:16 2002
srichter
Log:
Issue 25: Resolved by janko & srichter

This checkin fixes all the license headers of all the files that needed
fixing it. :) This was made possible by Janko Hauser's script, which is now
available in the ZopeRoot/utilities directory.
1.1.2.6 Download
View as text
View 1.1.2.6
View annotated
[select for diffs]
Diff to previous 1.1.2.5
Zope-3x-branch
Branch point for: gary-pre_create_views-branch
Diff to branch point 1.1
10 years, 1 month ago
Fri Mar 29 01:29:40 2002
gvanrossum
Log:
Before running tests, remove all stale .pyc and .pyo files.

Hopefully this will prevent future generations the kind of
embarrasment that befell Casey Duncan tonight: he removed various
files that were still in use, but didn't notice (probably) because the
.pyc files were still there.
1.1.2.5 Download
View as text
View 1.1.2.5
View annotated
[select for diffs]
Diff to previous 1.1.2.4
Zope-3x-branch
Diff to branch point 1.1
10 years, 2 months ago
Sat Mar 9 05:25:40 2002
jeremy
Log:
If debug is enabled, do not catch import errors during test setup.
1.1.2.4 Download
View as text
View 1.1.2.4
View annotated
[select for diffs]
Diff to previous 1.1.2.3
Zope-3x-branch
Diff to branch point 1.1
 
10 years, 2 months ago
Mon Mar 4 22:21:21 2002
jeremy
Log:
Don't add ZopeLegacy or ZopeLegacy/ExtensionClass to sys.path.
Remove check_spread(). Leftover from StandbyStorage version of this code.
1.1.2.3 Download
View as text
View 1.1.2.3
View annotated
[select for diffs]
Diff to previous 1.1.2.2
Zope-3x-branch
Diff to branch point 1.1
10 years, 2 months ago
Thu Feb 28 00:04:29 2002
chrisw
Log:
de-unix-ify
1.1.2.2 Download
View as text
View 1.1.2.2
View annotated
[select for diffs]
Diff to previous 1.1.2.1
Zope-3x-branch
Diff to branch point 1.1
 
10 years, 2 months ago
Wed Feb 20 23:19:28 2002
jeremy
Log:
Provide the right build command for -b option.
1.1.2.1 Download
View as text
View 1.1.2.1
View annotated
[select for diffs]
Diff to previous 1.1
Zope-3x-branch
 
10 years, 3 months ago
Wed Feb 13 23:32:06 2002
jeremy
Log:
A test script based on the StandaloneZODB test script.
1.1 Download
View as text
View 1.1
View annotated
[select for diffs]
FILE REMOVED
MAIN
Branch point for: Zope-3x-branch
 
10 years, 3 months ago
Wed Feb 13 23:32:06 2002
jeremy
Log:
file test.py was initially added on branch Zope-3x-branch.

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Diffs between and
Type of Diff should be a

View only Branch:
Sort log by:

webmaster@zope.org
Powered by
ViewCVS 0.9.2