File tree Expand file tree Collapse file tree 4 files changed +22
-2
lines changed Expand file tree Collapse file tree 4 files changed +22
-2
lines changed Original file line number Diff line number Diff line change 1+ ## 1.1.2
2+ - Added #13 : String values are wrapped with quotes in test output. This makes it easier to see if a string value is empty or contains spaces.
3+ - Updated lints package
4+ - Fixed small lint issue
5+
16## 1.1.1
27- Exported parameterizedGroup base and numeric and parameterizedTest from parameterized_test numeric functions.
38
Original file line number Diff line number Diff line change @@ -81,6 +81,22 @@ parameterizedTest(
8181);
8282` ` `
8383
84+ or
85+
86+ ` ` ` dart
87+ parameterizedTest2(
88+ 'Amount of letters tests',
89+ [
90+ ['kiwi', 4],
91+ ['apple', 5],
92+ ['banana', 6],
93+ ],
94+ (String word, int length) {
95+ expect(word.length, length);
96+ },
97+ );
98+ ` ` `
99+
84100Example parameterizedTest with extra test options for a value :
85101
86102` ` ` dart
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ import 'package:meta/meta.dart';
22import 'package:test/test.dart' ;
33
44import '../parameterized_test.dart' ;
5- import 'parameterized_group_base.dart' ;
65
76/// Parameterized group with 1 input arguments. See [parameterizedGroup] for more info.
87@isTestGroup
Original file line number Diff line number Diff line change 11name : parameterized_test
22description : Simple package that helps with executing parameterized tests. Inspired by JUnit ParameterizedTest.
3- version : 1.1.1
3+ version : 1.1.2
44homepage : https://www.github.com/DutchCodingCompany/parameterized_test
55
66environment :
You can’t perform that action at this time.
0 commit comments