~jayvdb/testscenarios/0.4

« back to all changes in this revision

Viewing changes to README

  • Committer: Martin Pool
  • Date: 2010-10-12 04:50:57 UTC
  • mto: This revision was merged to the branch mainline in revision 18.
  • Revision ID: mbp@sourcefrog.net-20101012045057-9hzwooq8tj8ckjse
Add multiply_scenarios

Show diffs side-by-side

added added

removed removed

Lines of Context:
267
267
 
268
268
If a parameterised test is because of a bug run without being parameterized,
269
269
it should fail rather than running with defaults, because this can hide bugs.
 
270
 
 
271
 
 
272
Producing Scenarios
 
273
===================
 
274
 
 
275
The `multiply_scenarios` function produces the cross-product of the scenarios
 
276
passed in::
 
277
 
 
278
    scenarios = multiply_scenarios(
 
279
        vary_by_http_client(),
 
280
        vary_by_http_protocol_version(),
 
281
        )
 
282