Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into z-object-database
- Loading branch information
Showing
84 changed files
with
5,172 additions
and
4,976 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,5 +8,6 @@ omit = | |
[report] | ||
exclude_lines = | ||
pragma: nocover | ||
pragma: no cover | ||
if __name__ == ['"]__main__['"]: | ||
assert False |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,3 +20,4 @@ testing.log | |
.dir-locals.el | ||
htmlcov | ||
tmp | ||
*~ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
====================== | ||
For developers of ZODB | ||
====================== | ||
|
||
Building | ||
======== | ||
|
||
Bootstrap buildout, if necessary using ``bootstrap.py``:: | ||
|
||
python bootstrap.py | ||
|
||
Run the buildout:: | ||
|
||
bin/buildout | ||
|
||
Testing | ||
======= | ||
|
||
The ZODB checkouts are `buildouts <http://www.python.org/pypi/zc.buildout>`_. | ||
When working from a ZODB checkout, first run the bootstrap.py script | ||
to initialize the buildout: | ||
|
||
% python bootstrap.py | ||
|
||
and then use the buildout script to build ZODB and gather the dependencies: | ||
|
||
% bin/buildout | ||
|
||
This creates a test script: | ||
|
||
% bin/test -v | ||
|
||
This command will run all the tests, printing a single dot for each | ||
test. When it finishes, it will print a test summary. The exact | ||
number of tests can vary depending on platform and available | ||
third-party libraries.:: | ||
|
||
Ran 1182 tests in 241.269s | ||
|
||
OK | ||
|
||
The test script has many more options. Use the ``-h`` or ``--help`` | ||
options to see a file list of options. The default test suite omits | ||
several tests that depend on third-party software or that take a long | ||
time to run. To run all the available tests use the ``--all`` option. | ||
Running all the tests takes much longer.:: | ||
|
||
Ran 1561 tests in 1461.557s | ||
|
||
OK | ||
|
||
Our primary development platforms are Linux and Mac OS X. The test | ||
suite should pass without error on these platforms and, hopefully, | ||
Windows, although it can take a long time on Windows -- longer if you | ||
use ZoneAlarm. | ||
|
||
Generating docs | ||
=============== | ||
|
||
cd to the doc directory and:: | ||
|
||
make html | ||
|
||
Contributing | ||
============ | ||
|
||
Almost any code change should include tests. | ||
|
||
Any change that changes features should include documentation updates. |
Oops, something went wrong.