diff options
author | Martin Pool <mbp@sourcefrog.net> | 2010-10-12 15:50:57 +1100 |
---|---|---|
committer | Martin Pool <mbp@sourcefrog.net> | 2010-10-12 15:50:57 +1100 |
commit | 977abd578ffa376be31e6382d4b0baab1c54ccef (patch) | |
tree | 016d3f96e73dda73e8bec77bf0158a9e21a3d92a /README | |
parent | 494fcff75bd2df7a42f14fee6d2f82f011f2da3f (diff) | |
download | testscenarios-977abd578ffa376be31e6382d4b0baab1c54ccef.tar.gz |
Add multiply_scenarios
Diffstat (limited to 'README')
-rw-r--r-- | README | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -267,3 +267,16 @@ Advice on Writing Scenarios If a parameterised test is because of a bug run without being parameterized, it should fail rather than running with defaults, because this can hide bugs. + + +Producing Scenarios +=================== + +The `multiply_scenarios` function produces the cross-product of the scenarios +passed in:: + + scenarios = multiply_scenarios( + vary_by_http_client(), + vary_by_http_protocol_version(), + ) + |