~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to NEWS

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-12-19 09:10:53 UTC
  • mfrom: (3128.2.2 trunk)
  • Revision ID: pqm@pqm.ubuntu.com-20071219091053-81xgp971m1pgmccf
(robertc) Allow arbitrary parameteriZation of tests cleanly.

Show diffs side-by-side

added added

removed removed

Lines of Context:
85
85
 
86
86
  TESTING:
87
87
 
 
88
   * Modules can now customise their tests by defining a ``load_tests``
 
89
     attribute. ``pydoc bzrlib.tests.TestUtil.TestLoader.loadTestsFromModule``
 
90
     for the documentation on this attribute. (Robert Collins)
 
91
 
 
92
   * New helper function ``bzrlib.tests.condition_id_re`` which helps
 
93
     filter tests based on a regular expression search on the tests id.
 
94
     (Robert Collins)
 
95
    
 
96
   * New helper function ``bzrlib.tests.condition_isinstance`` which helps
 
97
     filter tests based on class. (Robert Collins)
 
98
    
 
99
   * New helper function ``bzrlib.tests.exclude_suite_by_condition`` which
 
100
     generalises the ``exclude_suite_by_re`` function. (Robert Collins)
 
101
 
 
102
   * New helper function ``bzrlib.tests.filter_suite_by_condition`` which
 
103
     generalises the ``filter_suite_by_re`` function. (Robert Collins)
 
104
 
 
105
   * New helper method ``bzrlib.tests.exclude_tests_by_re`` which gives a new
 
106
     TestSuite that does not contain tests from the input that matched a
 
107
     regular expression. (Robert Collins)
 
108
 
 
109
   * New helper method ``bzrlib.tests.randomize_suite`` which returns a
 
110
     randomized copy of the input suite. (Robert Collins)
 
111
 
 
112
   * New helper method ``bzrlib.tests.split_suite_by_re`` which splits a test
 
113
     suite into two according to a regular expression. (Robert Collins)
 
114
 
 
115
   * The ``exclude_pattern`` and ``random_order`` parameters to the function
 
116
     ``bzrlib.tests.filter_suite_by_re`` have been deprecated. (Robert Collins)
 
117
 
 
118
   * The method ``bzrlib.tests.sort_suite_by_re`` has been deprecated. It is 
 
119
     replaced by the new helper methods added in this release. (Robert Collins)
 
120
 
88
121
 
89
122
bzr 1.0 2007-12-14
90
123
==================