parameterized_test library

Classes

TestParameters
Provides a interface for implementing test body classes.
TestParameters1<A1>
Test body class that handles 1 test parameter value. For example:
TestParameters10<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10>
Test body class that handles 10 test parameter values. For example:
TestParameters2<A1, A2>
Test body class that handles 2 test parameter values. For example:
TestParameters3<A1, A2, A3>
Test body class that handles 3 test parameter values. For example:
TestParameters4<A1, A2, A3, A4>
Test body class that handles 4 test parameter values. For example:
TestParameters5<A1, A2, A3, A4, A5>
Test body class that handles 5 test parameter values. For example:
TestParameters6<A1, A2, A3, A4, A5, A6>
Test body class that handles 6 test parameter values. For example:
TestParameters7<A1, A2, A3, A4, A5, A6, A7>
Test body class that handles 7 test parameter values. For example:
TestParameters8<A1, A2, A3, A4, A5, A6, A7, A8>
Test body class that handles 8 test parameter values. For example:
TestParameters9<A1, A2, A3, A4, A5, A6, A7, A8, A9>
Test body class that handles 9 test parameter values. For example:

Functions

parameterizedGroup(Object description, Iterable values, TestParameters body, {dynamic setUp()?, dynamic tearDown()?, String? testOn, Timeout? timeout, dynamic skip, dynamic tags, Map<String, dynamic>? onPlatform, int? retry}) → void
Create a new parameterizedGroup with given description, values and body
parameterizedGroup1<A1>(Object description, Iterable values, dynamic body(A1), {dynamic setUp()?, dynamic tearDown()?, String? testOn, Timeout? timeout, dynamic skip, dynamic tags, Map<String, dynamic>? onPlatform, int? retry}) → void
Parameterized group with 1 input arguments. See parameterizedGroup for more info.
parameterizedGroup10<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10>(Object description, Iterable values, dynamic body(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10), {dynamic setUp()?, dynamic tearDown()?, String? testOn, Timeout? timeout, dynamic skip, dynamic tags, Map<String, dynamic>? onPlatform, int? retry}) → void
Parameterized group with 10 input arguments. See parameterizedGroup for more info.
parameterizedGroup2<A1, A2>(Object description, Iterable values, dynamic body(A1, A2), {dynamic setUp()?, dynamic tearDown()?, String? testOn, Timeout? timeout, dynamic skip, dynamic tags, Map<String, dynamic>? onPlatform, int? retry}) → void
Parameterized group with 2 input arguments. See parameterizedGroup for more info.
parameterizedGroup3<A1, A2, A3>(Object description, Iterable values, dynamic body(A1, A2, A3), {dynamic setUp()?, dynamic tearDown()?, String? testOn, Timeout? timeout, dynamic skip, dynamic tags, Map<String, dynamic>? onPlatform, int? retry}) → void
Parameterized group with 3 input arguments. See parameterizedGroup for more info.
parameterizedGroup4<A1, A2, A3, A4>(Object description, Iterable values, dynamic body(A1, A2, A3, A4), {dynamic setUp()?, dynamic tearDown()?, String? testOn, Timeout? timeout, dynamic skip, dynamic tags, Map<String, dynamic>? onPlatform, int? retry}) → void
Parameterized group with 4 input arguments. See parameterizedGroup for more info.
parameterizedGroup5<A1, A2, A3, A4, A5>(Object description, Iterable values, dynamic body(A1, A2, A3, A4, A5), {dynamic setUp()?, dynamic tearDown()?, String? testOn, Timeout? timeout, dynamic skip, dynamic tags, Map<String, dynamic>? onPlatform, int? retry}) → void
Parameterized group with 5 input arguments. See parameterizedGroup for more info.
parameterizedGroup6<A1, A2, A3, A4, A5, A6>(Object description, Iterable values, dynamic body(A1, A2, A3, A4, A5, A6), {dynamic setUp()?, dynamic tearDown()?, String? testOn, Timeout? timeout, dynamic skip, dynamic tags, Map<String, dynamic>? onPlatform, int? retry}) → void
Parameterized group with 6 input arguments. See parameterizedGroup for more info.
parameterizedGroup7<A1, A2, A3, A4, A5, A6, A7>(Object description, Iterable values, dynamic body(A1, A2, A3, A4, A5, A6, A7), {dynamic setUp()?, dynamic tearDown()?, String? testOn, Timeout? timeout, dynamic skip, dynamic tags, Map<String, dynamic>? onPlatform, int? retry}) → void
Parameterized group with 7 input arguments. See parameterizedGroup for more info.
parameterizedGroup8<A1, A2, A3, A4, A5, A6, A7, A8>(Object description, Iterable values, dynamic body(A1, A2, A3, A4, A5, A6, A7, A8), {dynamic setUp()?, dynamic tearDown()?, String? testOn, Timeout? timeout, dynamic skip, dynamic tags, Map<String, dynamic>? onPlatform, int? retry}) → void
Parameterized group with 8 input arguments. See parameterizedGroup for more info.
parameterizedGroup9<A1, A2, A3, A4, A5, A6, A7, A8, A9>(Object description, Iterable values, dynamic body(A1, A2, A3, A4, A5, A6, A7, A8, A9), {dynamic setUp()?, dynamic tearDown()?, String? testOn, Timeout? timeout, dynamic skip, dynamic tags, Map<String, dynamic>? onPlatform, int? retry}) → void
Parameterized group with 9 input arguments. See parameterizedGroup for more info.
parameterizedTest(Object description, Iterable values, TestParameters body, {CustomDescriptionBuilder? customDescriptionBuilder, dynamic setUp()?, dynamic tearDown()?, String? testOn, Timeout? timeout, dynamic skip, dynamic tags, Map<String, dynamic>? onPlatform, int? retry}) → void
Create a new parameterizedTest with given description, values and body
parameterizedTest1<A1>(Object description, Iterable values, dynamic body(A1), {CustomDescriptionBuilder? customDescriptionBuilder, dynamic setUp()?, dynamic tearDown()?, String? testOn, Timeout? timeout, dynamic skip, dynamic tags, Map<String, dynamic>? onPlatform, int? retry}) → void
Parameterized test with 1 input arguments. See parameterizedTest for more info.
parameterizedTest10<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10>(Object description, Iterable values, dynamic body(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10), {CustomDescriptionBuilder? customDescriptionBuilder, dynamic setUp()?, dynamic tearDown()?, String? testOn, Timeout? timeout, dynamic skip, dynamic tags, Map<String, dynamic>? onPlatform, int? retry}) → void
Parameterized test with 10 input arguments. See parameterizedTest for more info.
parameterizedTest2<A1, A2>(Object description, Iterable values, dynamic body(A1, A2), {CustomDescriptionBuilder? customDescriptionBuilder, dynamic setUp()?, dynamic tearDown()?, String? testOn, Timeout? timeout, dynamic skip, dynamic tags, Map<String, dynamic>? onPlatform, int? retry}) → void
Parameterized test with 2 input arguments. See parameterizedTest for more info.
parameterizedTest3<A1, A2, A3>(Object description, Iterable values, dynamic body(A1, A2, A3), {CustomDescriptionBuilder? customDescriptionBuilder, dynamic setUp()?, dynamic tearDown()?, String? testOn, Timeout? timeout, dynamic skip, dynamic tags, Map<String, dynamic>? onPlatform, int? retry}) → void
Parameterized test with 3 input arguments. See parameterizedTest for more info.
parameterizedTest4<A1, A2, A3, A4>(Object description, Iterable values, dynamic body(A1, A2, A3, A4), {CustomDescriptionBuilder? customDescriptionBuilder, dynamic setUp()?, dynamic tearDown()?, String? testOn, Timeout? timeout, dynamic skip, dynamic tags, Map<String, dynamic>? onPlatform, int? retry}) → void
Parameterized test with 4 input arguments. See parameterizedTest for more info.
parameterizedTest5<A1, A2, A3, A4, A5>(Object description, Iterable values, dynamic body(A1, A2, A3, A4, A5), {CustomDescriptionBuilder? customDescriptionBuilder, dynamic setUp()?, dynamic tearDown()?, String? testOn, Timeout? timeout, dynamic skip, dynamic tags, Map<String, dynamic>? onPlatform, int? retry}) → void
Parameterized test with 5 input arguments. See parameterizedTest for more info.
parameterizedTest6<A1, A2, A3, A4, A5, A6>(Object description, Iterable values, dynamic body(A1, A2, A3, A4, A5, A6), {CustomDescriptionBuilder? customDescriptionBuilder, dynamic setUp()?, dynamic tearDown()?, String? testOn, Timeout? timeout, dynamic skip, dynamic tags, Map<String, dynamic>? onPlatform, int? retry}) → void
Parameterized test with 6 input arguments. See parameterizedTest for more info.
parameterizedTest7<A1, A2, A3, A4, A5, A6, A7>(Object description, Iterable values, dynamic body(A1, A2, A3, A4, A5, A6, A7), {CustomDescriptionBuilder? customDescriptionBuilder, dynamic setUp()?, dynamic tearDown()?, String? testOn, Timeout? timeout, dynamic skip, dynamic tags, Map<String, dynamic>? onPlatform, int? retry}) → void
Parameterized test with 7 input arguments. See parameterizedTest for more info.
parameterizedTest8<A1, A2, A3, A4, A5, A6, A7, A8>(Object description, Iterable values, dynamic body(A1, A2, A3, A4, A5, A6, A7, A8), {CustomDescriptionBuilder? customDescriptionBuilder, dynamic setUp()?, dynamic tearDown()?, String? testOn, Timeout? timeout, dynamic skip, dynamic tags, Map<String, dynamic>? onPlatform, int? retry}) → void
Parameterized test with 8 input arguments. See parameterizedTest for more info.
parameterizedTest9<A1, A2, A3, A4, A5, A6, A7, A8, A9>(Object description, Iterable values, dynamic body(A1, A2, A3, A4, A5, A6, A7, A8, A9), {CustomDescriptionBuilder? customDescriptionBuilder, dynamic setUp()?, dynamic tearDown()?, String? testOn, Timeout? timeout, dynamic skip, dynamic tags, Map<String, dynamic>? onPlatform, int? retry}) → void
Parameterized test with 9 input arguments. See parameterizedTest for more info.

Typedefs

p1<A1> = TestParameters1<A1>
alias for TestParameters1.
p10<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10> = TestParameters10<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10>
alias for TestParameters10.
p2<A1, A2> = TestParameters2<A1, A2>
alias for TestParameters2.
p3<A1, A2, A3> = TestParameters3<A1, A2, A3>
alias for TestParameters3.
p4<A1, A2, A3, A4> = TestParameters4<A1, A2, A3, A4>
alias for TestParameters4.
p5<A1, A2, A3, A4, A5> = TestParameters5<A1, A2, A3, A4, A5>
alias for TestParameters5.
p6<A1, A2, A3, A4, A5, A6> = TestParameters6<A1, A2, A3, A4, A5, A6>
alias for TestParameters6.
p7<A1, A2, A3, A4, A5, A6, A7> = TestParameters7<A1, A2, A3, A4, A5, A6, A7>
alias for TestParameters7.
p8<A1, A2, A3, A4, A5, A6, A7, A8> = TestParameters8<A1, A2, A3, A4, A5, A6, A7, A8>
alias for TestParameters8.
p9<A1, A2, A3, A4, A5, A6, A7, A8, A9> = TestParameters9<A1, A2, A3, A4, A5, A6, A7, A8, A9>
alias for TestParameters9.