Changes between Version 99 and Version 100 of DeveloperGuidelinesTesting


Ignore:
Timestamp:
02/07/11 07:50:36 (11 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelinesTesting

    v99 v100  
    113113
    114114== Continuous Integration ==
    115 We are starting to use the Trac-integrated [http://bitten.edgewall.org Bitten] to monitor code quality.
     115We are starting to use [http://jenkins-ci.org Jenkins] to run the Functional Tests automatically.
     116 * http://blog.karit.geek.nz/2010/07/selenium-grid-part-1-getting-started.html
    116117
    117118 * Other options: http://stackoverflow.com/questions/225598/pretty-continuous-integration-for-python
    118119  * [http://buildbot.net/trac Buildbot]
    119   * [http://hudson-ci.org/ Hudson]
     120  * [http://bitten.edgewall.org Bitten]
    120121
    121 !ToDo: Write a step to parse/store the results of Selenium's {{{HandleResults.py}}}
    122 {{{
    123 <step id="lint" description="Run PyLint">
    124   <python:exec module="pylint.lint" output="pylint-report.txt" args="/var/www/trac/sahana3/bzr"/>
    125   <python:pylint file="pylint-report.txt" />
    126 </step>
    127 }}}
    128 !ToDo: Amend so that it can find the {{{gluon}}} module (or configure to not follow this dependency):[[BR]]
    129 {{{ImportError: Unable to find module for modules/s3/s3validators.py in /tmp/bittenA787wC/build_Trunk_1}}}[[BR]]
    130 !ToDo: Fix Windows path (NB plain 'bzr' fails too, even if we're in the folder up from that):
    131 {{{F:  1: No module named /var/www/trac/sahana3/bzr}}}
    132 We need to write a {{{build/test-results.xml}}} for this one (& it also wants a {{{setup.py}}}?):
    133 {{{
    134 <step id="test" description="Run unit tests">
    135   <python:distutils command="unittest"/>
    136   <python:unittest file="build/test-results.xml"/>
    137   <python:trace summary="build/test-coverage.txt" coverdir="build/coverage" include="trac*" exclude="*.tests.*"/>
    138 </step>
    139 }}}
    140 This one is pointless for us as we don't build anything using a {{{setup.py}}}:
    141 {{{
    142 <step id="build" description="Compile to byte code">
    143   <python:distutils command="build"/>
    144 </step>
    145 }}}
    146122----
    147123BluePrintTesting