E&S CVS Commit: PEAK - Created a peak.api.tests module, which just runs tests on API packages

pje at eby-sarna.com pje at eby-sarna.com
Fri Oct 11 16:13:00 EDT 2002


Module Name:	PEAK
Committed By:	pje
Date:		Fri Oct 11 20:12:59 UTC 2002

Modified Files:
	PEAK: setup.py
	PEAK/src/peak/tests: __init__.py
Added Files:
	PEAK/src/peak/api: tests.py

Log Message:
Created a peak.api.tests module, which just runs tests on API packages
(like binding, config, naming, etc.) and skips the old tests (metamodels)
and the utils tests.  Changed the "setup.py test" default to use this
shorter and MUCH faster subset of tests.  You can still run the full suite
with "setup.py test -m peak.tests", but on my Windows machines the extra
tests can add up to 20 seconds to my test times, and I rarely change
anything that affects the utils or metamodel tests.  I'll save those for
checkin testing, and use the API-only tests for running as I change things.


To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/PEAK/setup.py.diff?r1=1.25&r2=1.26
http://cvs.eby-sarna.com/PEAK/src/peak/api/tests.py?rev=1.1&content-type=text/vnd.viewcvs-markup
http://cvs.eby-sarna.com/PEAK/src/peak/tests/__init__.py.diff?r1=1.15&r2=1.16

To generate a diff of this commit:
cvs rdiff -r1.25 -r1.26 PEAK/setup.py
cvs rdiff -r0 -r1.1 PEAK/src/peak/api/tests.py
cvs rdiff -r1.15 -r1.16 PEAK/src/peak/tests/__init__.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




More information about the source-changes mailing list