Changes between Version 36 and Version 37 of DeveloperGuidelinesTesting
- Timestamp:
- 01/11/09 21:20:37 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperGuidelinesTesting
v36 v37 5 5 "Unit Tests allow merciless [http://diveintopython.org/refactoring/refactoring.html refactoring]" 6 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. 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://fitnesse.org/FitNesse.AcceptanceTests Fitnesse] or [http://rspec.info/ rSpec] to provide testable specs: 9 * http://blog.daveastels.com/files/BDD_Intro.pdf 10 * http://www.paulchaplin.com/blog/behaviour-driven-development-bdd-frameworks 8 11 9 12 There are a huge number of Testing Tools available to cover the various parts of the Testing process: … … 16 19 * http://diveintopython.org/unit_testing/index.html 17 20 These should be written by the developers 18 * Doc Tests- inline with code: Agile Documentation21 * [http://www.python.org/doc/2.6/library/doctest.html DocTest] - inline with code: Agile Documentation 19 22 * http://agiletesting.blogspot.com/2005/01/python-unit-testing-part-2-doctest.html 20 23 * Web2Py supports running doctests on Controllers from the admin UI, e.g.: http://127.0.0.1:8000/admin/default/test/sahana/default.py 21 24 22 * http://docs.python.org/library/unittest.html UnitTest] (formerly [http://pyunit.sourceforge.net PyUnit])25 * [http://docs.python.org/library/unittest.html UnitTest] (formerly [http://pyunit.sourceforge.net PyUnit]) 23 26 * http://agiletesting.blogspot.com/2005/01/python-unit-testing-part-1-unittest.html 24 27 * [http://somethingaboutorange.com/mrl/projects/nose/ Nose] - a discovery-based unittest extension … … 53 56 Functional tests can be written using: 54 57 * [http://seleniumhq.org Selenium] 58 * discussion on using Selenium with Web2Py: http://groups.google.com/group/web2py/msg/d8c9fd6008029f6b 55 59 * [http://jakarta.apache.org/jmeter/ JMeter] 56 60 This is done by the Testers who accept the Code as a result. 57 58 Could use something like [http://fitnesse.org/FitNesse.AcceptanceTests Fitnesse] or [http://rspec.info/ Rspec] to provide testable specs59 61 60 62 == Integration Testing (good thing) ==