Changes between Version 36 and Version 37 of DeveloperGuidelinesTesting


Ignore:
Timestamp:
01/11/09 21:20:37 (13 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelinesTesting

    v36 v37  
    55"Unit Tests allow merciless [http://diveintopython.org/refactoring/refactoring.html refactoring]"
    66
    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.
     7Test-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]]
     8Behaviour-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
    811
    912There are a huge number of Testing Tools available to cover the various parts of the Testing process:
     
    1619 * http://diveintopython.org/unit_testing/index.html
    1720These should be written by the developers
    18  * Doc Tests - inline with code: Agile Documentation
     21 * [http://www.python.org/doc/2.6/library/doctest.html DocTest] - inline with code: Agile Documentation
    1922  * http://agiletesting.blogspot.com/2005/01/python-unit-testing-part-2-doctest.html
    2023  * Web2Py supports running doctests on Controllers from the admin UI, e.g.: http://127.0.0.1:8000/admin/default/test/sahana/default.py
    2124
    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])
    2326  * http://agiletesting.blogspot.com/2005/01/python-unit-testing-part-1-unittest.html
    2427  * [http://somethingaboutorange.com/mrl/projects/nose/ Nose] - a discovery-based unittest extension
     
    5356Functional tests can be written using:
    5457 * [http://seleniumhq.org Selenium]
     58  * discussion on using Selenium with Web2Py: http://groups.google.com/group/web2py/msg/d8c9fd6008029f6b
    5559 * [http://jakarta.apache.org/jmeter/ JMeter]
    5660This 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 specs
    5961
    6062== Integration Testing (good thing) ==