Source

objective.testharness /

Filename Size Date modified Message
static
templates
80 B
1.1 KB
427 B
898 B
7.9 KB
2.8 KB
7.8 KB
1.0 KB
3.1 KB

This package provides a test runner for the PyObjC project.

WARNING: In its current state the software only works on my private machine, this will change in the future.

WARNING: Running the tests will change the site-packages directory of the Python installation, and might break other software while the tests are running. The script is therefore configured to use a seperate Python framework installation.

Usage for running the tests:

$ python runtests.py

Generate HTML results using:

$ python genreport.py

It is also possible to just perform the "install" and "cleanup" parts of a test run using:

$ python installpkgs.py install

and:

$ python installpkgs.py cleanup

Current assumptions:

* There is a clean Python framework installation in

"/Library/Frameworks/PythonDev.framework".

This framework contains versions 2.7, 3.2 and 3.3 and supports the Intel architectures (i386 and x86_64).

  • The source code checkout is in "/Users/ronald/Projects/pyobjc-hg"

    The checkout tree contains a checkout of pyobjc, as well as py2app (and related projects).

The report generator uses Jinja2.