summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorMartin Pool <mbp@sourcefrog.net>2010-10-12 15:50:57 +1100
committerMartin Pool <mbp@sourcefrog.net>2010-10-12 15:50:57 +1100
commit977abd578ffa376be31e6382d4b0baab1c54ccef (patch)
tree016d3f96e73dda73e8bec77bf0158a9e21a3d92a /README
parent494fcff75bd2df7a42f14fee6d2f82f011f2da3f (diff)
downloadtestscenarios-977abd578ffa376be31e6382d4b0baab1c54ccef.tar.gz
Add multiply_scenarios
Diffstat (limited to 'README')
-rw-r--r--README13
1 files changed, 13 insertions, 0 deletions
diff --git a/README b/README
index 14df2e1..bf49b4b 100644
--- a/README
+++ b/README
@@ -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(),
+ )
+