Skip to content

Commit 6d8ea9d

Browse files
authored
Merge pull request #19 from DutchCodingCompany/release/v2.0.0
Release v2.0.0
2 parents 225c655 + a3d9189 commit 6d8ea9d

File tree

3 files changed

+17
-3
lines changed

3 files changed

+17
-3
lines changed

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
## 2.0.0
2+
- Rework internal implementation of the packages. Resulting in no need for specifying the number of parameters in the function name.
3+
```dart
4+
parameterizedTest('No more numbered function!', [
5+
[1, 'two', 3],
6+
[4, 'five',6],
7+
],
8+
(int value, String text, int secondValue) {
9+
print('$value $text $secondValue');
10+
});
11+
```
12+
- **BREAKING**: Numbered functions are removed (p1,p2, parameterizedTest2, parameterizedTest3 etc.). Use the base functions instead.
13+
- Added extra examples in the README.md
14+
115
## 1.1.3
216
- Added `CustomDescriptionBuilder` to build custom test description for all executed tests.
317
For example:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Supercharge your Dart testing with **parameterized_test**! Built on top of the [
2424

2525
## Features ✨
2626

27-
- ✅ Run a test multiple times based on provide parameter list.
27+
- ✅ Run a test multiple times based on provided parameter list.
2828
- ✅ Built on top of [dart test package](https://pub.dev/packages/test).
2929
- ✅ Type cast test parameters used in the tests.
3030
- ✅ Include test options for parameter_test.

pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: parameterized_test
2-
description: Simple package that helps with executing parameterized tests. Inspired by JUnit ParameterizedTest.
3-
version: 1.1.3
2+
description: Run a test multiple times based on provided parameter list. Inspired by JUnit ParameterizedTest.
3+
version: 2.0.0
44
homepage: https://www.github.com/DutchCodingCompany/parameterized_test
55

66
environment:

0 commit comments

Comments
 (0)