Changes between Version 72 and Version 73 of DeveloperGuidelinesTesting
- Timestamp:
- 01/24/09 16:03:00 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperGuidelinesTesting
v72 v73 4 4 5 5 This page defines what our current approach versus our [wiki:BluePrintTesting BluePrint for future options] 6 7 Test-Driven Development is a programming styles which says that you 1st write your test cases (from the [BluePrints specs]) & then proceed to make them pass.[[BR]] 8 Behaviour-Driven Development takes this further to focus on the Specification rather than the Verification using something like [http://www.codeplex.com/pyspec pyspec] or [http://pypi.python.org/pypi/PyFIT/0.8a2 PyFIT]to provide testable specs: 9 * http://behaviour-driven.org/BDDProcess 10 * http://fitnesse.org/FitNesse.AcceptanceTests 6 11 7 12 [wiki:InstallationGuidelinesDeveloper#TestingSetup] … … 85 90 </step> 86 91 }}} 87 !ImportError: Unable to find module for /var/www/trac/sahana3/bzr/modules/validators.py in /tmp/bittenA787wC/build_Trunk_1, 88 {{{ 89 <step id="build" description="Compile to byte code"> 90 <python:distutils command="build"/> 91 </step> 92 }}} 93 94 distutils failed (512)[[BR]] 95 /usr/bin/python: can't open file '/tmp/bittenk8YjFn/build_Trunk_1/setup.py': [Errno 2] No such file or directory 92 ToDo: Amend so that it can find the {{{gluon}}} module (or configure to not follow this dependency):[[BR]] 93 {{{ImportError: Unable to find module for modules/validators.py in /tmp/bittenA787wC/build_Trunk_1}}}[[BR]] 94 ToDo: Fix Windowss: 95 {{{Error opening pylint results file ([Errno 2] No such file or directory: 'c:\\docume~1\\username\\locals~1\\temp\\bittenxx1j1x\\build_Trunk_3\\pylint-report.txt')}}} 96 96 {{{ 97 97 <step id="test" description="Run unit tests"> … … 101 101 </step> 102 102 }}} 103 This one is pointless for us as we don't build anything using a {{{setup.py}}}: 104 {{{ 105 <step id="build" description="Compile to byte code"> 106 <python:distutils command="build"/> 107 </step> 108 }}} 103 109 ---- 104 110 DeveloperGuidelines