Skip to content

Commit 7131281

Browse files
authored
Merge pull request #12 from DutchCodingCompany/fix/fix_lint_message
Release v1.1.2
2 parents f8a208c + 1bfe493 commit 7131281

File tree

4 files changed

+22
-2
lines changed

4 files changed

+22
-2
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
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

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff 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+
84100
Example parameterizedTest with extra test options for a value:
85101

86102
```dart

lib/src/parameterized_group_numeric.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import 'package:meta/meta.dart';
22
import 'package:test/test.dart';
33

44
import '../parameterized_test.dart';
5-
import 'parameterized_group_base.dart';
65

76
/// Parameterized group with 1 input arguments. See [parameterizedGroup] for more info.
87
@isTestGroup

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: parameterized_test
22
description: Simple package that helps with executing parameterized tests. Inspired by JUnit ParameterizedTest.
3-
version: 1.1.1
3+
version: 1.1.2
44
homepage: https://www.github.com/DutchCodingCompany/parameterized_test
55

66
environment:

0 commit comments

Comments
 (0)