Changes between Version 122 and Version 123 of DeveloperGuidelinesTesting
- Timestamp:
- 05/31/12 12:29:40 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperGuidelinesTesting
v122 v123 11 11 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. 12 12 13 For manual tests, can pre-populate the database with random data using [http://groups.google.com/group/web2py/browse_thread/thread/4b2e5ed166220ba5# gluon.contrib.populate]14 15 13 * [wiki:InstallationGuidelinesDeveloperTesting] 16 14 * TestCases - User Testing - List of things to test 17 15 18 16 == Functional Tests == 19 Building the Right Code 20 21 We have integrated [http://seleniumhq.org/projects/remote-control/] into {{{/static/selenium}}} so that Functional Tests can be run easily. For Notes on how to create your own test cases see CreatingTestCasesFirst. 22 23 Tests can be developed using [http://seleniumhq.org/projects/ide Selenium IDE], if desired. 24 25 See the [http://eden.sahanafoundation.org/attachment/wiki/DeveloperGuidelinesTesting/Regression%20tests.pdf Documentation] for details on how to use this test suite. 17 "Building the Right Code" 18 19 We use Selenium for this: DeveloperGuidelines/Testing 26 20 27 21 Hints: 28 * Some wrapper scripts for Win32 attached22 * CreatingTestCasesFirst 29 23 * Improving the stability of Selenium tests: http://googletesting.blogspot.com/2009/06/my-selenium-tests-arent-stable.html 30 24 * Lots of useful tips: http://www.eviltester.com