--- Begin Message ---
Charlie Poole has proposed merging lp:~charlie.poole/nunit-2.5/merge into lp:nunit-2.5.
Requested reviews:
NUnit Core Developers (nunit-core)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Experiment: Sending merge directive via code.launchpad.net.
This is just a change to some comments.
Charlie
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32) - WinPT 1.4.1
Charset: UTF-8
iEYEARECAAYFAkqF/eIACgkQFNOQ5gKSruvRewCeK+ky9/5ZCLa+cA2DA6JnpYVn
qlwAn0CSeHJJtIajQMBzuaM/cjZpJxiC
=Wy1H
-----END PGP SIGNATURE-----
--
https://code.launchpad.net/~charlie.poole/nunit-2.5/merge/+merge/10197
You are the owner of lp:~charlie.poole/nunit-2.5/merge.
=== modified file 'src/NUnitFramework/framework/JoinTypeAttributes.cs'
--- src/NUnitFramework/framework/JoinTypeAttributes.cs 2009-04-18 21:11:18 +0000
+++ src/NUnitFramework/framework/JoinTypeAttributes.cs 2009-08-13 00:55:12 +0000
@@ -9,9 +9,11 @@
namespace NUnit.Framework
{
/// <summary>
- /// Marks a test to use a combinatorial join of any argument
- /// data provided. Since this is the default, the attribute is
- /// not needed.
+ /// Marks a test to use a combinatorial join of any argument data
+ /// provided. NUnit will create a test case for every combination of
+ /// the arguments provided. This can result in a large number of test
+ /// cases and so should be used judiciously. This is the default join
+ /// type, so the attribute need not be used except as documentation.
/// </summary>
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
public class CombinatorialAttribute : PropertyAttribute
@@ -23,9 +25,10 @@
}
/// <summary>
- /// Marks a test to use a combinatorial join of any argument
- /// data provided. Since this is the default, the attribute is
- /// not needed.
+ /// Marks a test to use pairwise join of any argument data provided.
+ /// NUnit will attempt too excercise every pair of argument values at
+ /// least once, using as small a number of test cases as it can. With
+ /// only two arguments, this is the same as a combinatorial join.
/// </summary>
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
public class PairwiseAttribute : PropertyAttribute
@@ -37,9 +40,12 @@
}
/// <summary>
- /// Marks a test to use a combinatorial join of any argument
- /// data provided. Since this is the default, the attribute is
- /// not needed.
+ /// Marks a test to use a sequential join of any argument data
+ /// provided. NUnit will use arguements for each parameter in
+ /// sequence, generating test cases up to the largest number
+ /// of argument values provided and using null for any arguments
+ /// for which it runs out of values. Normally, this should be
+ /// used with the same number of arguments for each parameter.
/// </summary>
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
public class SequentialAttribute : PropertyAttribute
--- End Message ---