Version 14 (modified by 16 years ago) ( diff ) | ,
---|
Testing
"A bug is a test case you haven't written yet"
"Unit Tests allow merciless refactoring": http://diveintopython.org/refactoring/refactoring.html
Unit Tests (must do)
These should be written by the developers
- Doc Tests: http://agiletesting.blogspot.com/2005/01/python-unit-testing-part-2-doctest.html
- PyUnit: http://pyunit.sourceforge.net/
- Rspec is an equivalent for Ruby: http://rspec.info/
Continuous Integration
Whenever a commit is made it should be checked to see that it doesn't break anything
- Patch Queue Manager - integrates with Bzr
- http://cruisecontrol.sourceforge.net/
Regression Testing
Fired by dev after certain number of changes or whenever they like.
Boundary Testing (should do)
Checks functionality of modules against spec.
- Functional tests can be written using Selenium
This is done by the Testers who accept the Code as a result.
Integration Testing (good thing)
Usability Tests
Accessibility
- Are we XHTML 1.0 compliant?
- Are we usable without JavaScript?
Performance Tests
Whilst the Web2Py framework is fast, we should check that we're not doing anything stupid to slow it down:
Security Tests
Whilst the Web2Py framework is secure by design, we should validate this:
Attachments (4)
- Regression tests.pdf (482.2 KB ) - added by 14 years ago.
-
Regression tests.odt
(349.2 KB
) - added by 14 years ago.
Source for the PDF
-
test.cmd
(1.9 KB
) - added by 13 years ago.
Non-Interactive
-
testui.cmd
(1.9 KB
) - added by 13 years ago.
Interactive Wrapper for Selenium
Download all attachments as: .zip