Changes between Version 10 and Version 11 of DeveloperGuidelines/Testing
- Timestamp:
- 04/15/14 00:49:12 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperGuidelines/Testing
v10 v11 13 13 14 14 === Smoke Tests === 15 Smoke Tests click through on every link within Sahana Eden and can be used to check for errors on pages and broken links. They are a light-weight approach to detecting basic errors, however they do not test form submission or any interaction. 16 To run the Smoke Tests :15 Smoke Tests click through on every link within Sahana Eden and can be used to check for errors on pages and broken links. They are a light-weight approach to detecting basic errors, however they do not test form submission or any interaction. They can be run using [http://twill.idyll.org/ twill] or [http://jeanphix.me/Ghost.py/ Ghost.py]. Ghost is still under development and offers much more features than Twill. 16 To run the Smoke Tests using Twill (use g for Ghost): 17 17 {{{ 18 python web2py.py -S eden -M -R applications/eden/modules/tests/suite.py -A --suite smoke -- force-debug --link-depth 16-V 318 python web2py.py -S eden -M -R applications/eden/modules/tests/suite.py -A --suite smoke --agent t --force-debug --link-depth 7 -V 3 19 19 }}} 20 ''Add details on the dependancies for these'' 20 Before running smoke tests, check [http://eden.sahanafoundation.org/wiki/DeveloperGuidelines/Testing/Smoke Developer Guidelines - Smoke Tests] for installation and aditional options. 21 21 22 22 === Selenium Tests ===