Edgewall Software

Changes between Version 7 and Version 8 of TracDev/UnitTests


Ignore:
Timestamp:
May 11, 2009, 3:59:55 AM (15 years ago)
Author:
ja2038@…
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • TracDev/UnitTests

    v7 v8  
    4545The module [source:/trunk/trac/test.py#latest trac.test] contains a couple of functions and classes that can help writing unit tests. In particular, it provides an {{{InMemoryDatabase}}} class that can be used to test functionality that requires database access, without having to create an actual database on disk. Also there's a very simple factory for [http://c2.com/cgi/wiki?MockObject mock objects], which you can use to create quick substitutes of the "real" objects for testing.
    4646
    47 == Optional Dependencies ==
    48 Some unit tests seem to depend on:
     47== Optional Dependencies needed for Functional Tests ==
     48Some functional tests integrated into the unit tests seem to depend on:
    4949 * [http://twill.idyll.org/ twill]
    5050 * [http://pytz.sourceforge.net/ pytz]