Mercurial > bitten > bitten-test
view recipe.xml @ 144:76dea27af878
* Make the `<python:unittest>` command strip the base dir from file names in the report. Fixes #42.
* Yield reports in the order they were generated.
* The `testrunner` now splits the test name into `name` and `fixture` components (the former is commonly the name of the test function, while the latter is the name of the `TestCase` subclass.
* Parse descriptions of doctests to extract the test fixture.
* Add option to the `build.py` script to enable output of generated reports to the console.t
author | cmlenz |
---|---|
date | Sat, 20 Aug 2005 13:29:56 +0000 |
parents | 5bf22bb87915 |
children | affd91b4c6fb |
line wrap: on
line source
<?xml version="1.0"?> <build description="My project" xmlns:c="bitten:bitten.build.ctools" xmlns:python="bitten:bitten.build.pythontools"> <step id="build" title="Let Distutils build the python code"> <python:distutils command="build"/> </step> <step id="test" title="Unit tests" description="Run unit tests and record code coverage"> <python:distutils command="unittest"/> <reports> <python:unittest file="build/test-results.xml"/> <python:trace summary="build/test-coverage.txt" coverdir="build/coverage" include="trac*" exclude="*.tests.*"/> </reports> </step> <step id="lint" title="Run Pylint" onerror="ignore" description="Run Pylint to check for bad style and potential errors"> <c:make target="pylint"/> <reports> <python:pylint file="build/pylint-results.txt"/> </reports> </step> <step id="dist" title="Package up distributions"> <python:distutils command="sdist"/> </step> </build>