Mercurial > bitten > bitten-test
comparison recipe.xml @ 3:9ac0ee86ec7c
Some cleanup to the recipe commands and reporters.
author | cmlenz |
---|---|
date | Sun, 22 May 2005 23:12:16 +0000 |
parents | 0b2a3581c48d |
children | 196009657e5e |
comparison
equal
deleted
inserted
replaced
2:3ba3fb6f0054 | 3:9ac0ee86ec7c |
---|---|
3 | 3 |
4 <step id="build" title="Let Distutils build the python code"> | 4 <step id="build" title="Let Distutils build the python code"> |
5 <distutils command="build"/> | 5 <distutils command="build"/> |
6 </step> | 6 </step> |
7 | 7 |
8 <step id="test" title="Unit tests" | |
9 description="Run unit tests and trace code coverage"> | |
10 <distutils command="unittest"/> | |
11 <reports> | |
12 <unittest file="build/test-results.xml"/> | |
13 <trace summary="build/test-coverage.txt" coverdir="build/coverage" | |
14 include="trac*" exclude="*.tests.*"/> | |
15 </reports> | |
16 </step> | |
17 | |
8 <step id="lint" title="Run Pylint" | 18 <step id="lint" title="Run Pylint" |
9 description="Run Pylint to check for bad style and potential errors"> | 19 description="Run Pylint to check for bad style and potential errors"> |
10 <make target="pylint"/> | 20 <make target="pylint"/> |
11 <reports> | 21 <reports> |
12 <pylint file="build/pylint.txt"/> | 22 <pylint file="build/pylint-results.txt"/> |
13 </reports> | 23 </reports> |
14 </step> | 24 </step> |
15 | 25 |
16 <step id="test" title="Unit tests" | 26 <step id="dist" title="Package up distributions"> |
17 description="Run unit tests and trace code coverage"> | 27 <distutils command="sdist"/> |
18 <make target="test"/> | |
19 <reports> | |
20 <unittest file="build/test-results.xml"/> | |
21 <trace.py dir="build/coverage" include="trac*" exclude="*.tests.*"/> | |
22 </reports> | |
23 </step> | 28 </step> |
24 | 29 |
25 </recipe> | 30 </recipe> |