parameterized_test
Run a test multiple times based on provided parameter list. Inspired by JUnit ParameterizedTest.
2.0.3
28K downloads/mo
#1897 most downloaded on pub.dev
DutchCodingCompany/parameterized_test
What this package is like to depend on
Last release 2 months ago
18 Jun 2026
Release timing varies
gaps range from 2 weeks to 1.1 years
Nearly every release is documented
notes for 15 of 15 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
17 releases · first in 2021
2 releases in the last 12 months
see the full history below
Release timeline
17 releases · Nov 2021 to Jun 2026Releases
latest 17-
2.0.318 Jun 2026Release notes
Open source →What's Changed
- Added guard clause in
extractFunctionArgumentsSignatureto preventRangeErroron unexpected error formats. - Exported
CustomDescriptionBuilder. - Fixed typo
customDiscriptionBuilderin documentation. - Fixed truncated doc comment on
ListTestParametersEx. - Removed duplicate test.
- Fixed minor typos in documentation and tests.
- added a skill for writing parameterized tests
Full Changelog: v2.0.2...v2.0.3
Release notes
Open source →- Added guard clause in
extractFunctionArgumentsSignatureto preventRangeErroron unexpected error formats. - Exported
CustomDescriptionBuilder. - Fixed typo
customDiscriptionBuilderin documentation. - Fixed truncated doc comment on
ListTestParametersEx. - Removed duplicate test.
- Fixed minor typos in documentation and tests.
- added a skill for writing parameterized tests
- Added guard clause in
-
2.0.201 Oct 2025Release notes
Open source →Release notes
Open source →- Update dependencies
- Update
very_good_analysisto10.0.0 - Update
testto1.26.2 - Update
metato1.16.0 - Updated
stack_traceto1.12.1 - Added topics: [test, testing, parameterized] to pubspec.yaml
- Added small explanation to README.md about Future.error usage in tests.
- Updated dart formatting.
- Update
- Update dependencies
-
2.0.116 Aug 2024Release notes
Open source →Release notes
Open source →- Updated dependencies
- sdk to
>=3.4.0 <4.0.0 testto1.25.7metato1.15.0very_good_analysisto6.0.0
- sdk to
- Updated dependencies
-
2.0.023 Apr 2024Release notes
Open source →What's Changed
- Rework internal implementation of the packages. Resulting in no need for specifying the number of parameters in the function name.
parameterizedTest('No more numbered function!', [ [1, 'two', 3], [4, 'five',6], ], (int value, String text, int secondValue) { print('$value $text $secondValue'); });
- BREAKING: Numbered functions are removed (p1,p2, parameterizedTest2, parameterizedTest3 etc.). Use the base functions instead.
- Added extra examples in the README.md
Full Changelog: v1.1.3...v2.0.0
Release notes
Open source →- Rework internal implementation of the packages. Resulting in no need for specifying the number of parameters in the function name.
parameterizedTest('No more numbered function!', [ [1, 'two', 3], [4, 'five',6], ], (int value, String text, int secondValue) { print('$value $text $secondValue'); });- BREAKING: Numbered functions are removed (p1,p2, parameterizedTest2, parameterizedTest3 etc.). Use the base functions instead.
- Added extra examples in the README.md
-
1.1.305 Mar 2024Release notes
Open source →What's Changed
- 📝 fix examples in ReadMe by @Pavel-Sulimau in #14
- 👷 remove commented duplicated check from github pipeline by @Pavel-Sulimau in #15
- ✨ Adding custom description builder by @Guldem in #17
New Contributors
- @Pavel-Sulimau made their first contribution in #14
Full Changelog: v1.1.2...v1.1.3
Release notes
Open source →-
Added
CustomDescriptionBuilderto build custom test description for all executed tests. For example:parameterizedTest2( 'Test with custom description', [ [1, 2], [3, 4], ], (int a, int b) => expect(a+b, isPositive), customDescriptionBuilder: (groupDescription, index, values) => '🚀[$index] $groupDescription: <<${values.join('|')}>>', );Prints:
Test with custom description 🚀[1] Test with custom description: <<1|2>> Test with custom description 🚀[2] Test with custom description: <<3|4>> -
1.1.202 Feb 2024Release notes
Open source →What's Changed
- Create dependabot.yml by @Guldem in #10
- Bump lints from 2.1.1 to 3.0.0 by @dependabot in #11
- ✨ Display empty and blank lines during tests by @Guldem in #13
Full Changelog: v1.1.1...v1.1.2
Release notes
Open source →- 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.
- Updated lints package
- Fixed small lint issue
-
1.1.111 Aug 2023Release notes
Open source →- Exported parameterizedGroup base and numeric and parameterizedTest from parameterized_test numeric functions.
Release notes
Open source →- Exported parameterizedGroup base and numeric and parameterizedTest from parameterized_test numeric functions.
-
1.1.011 Aug 2023Release notes
Open source →- Added separate numbered functions for
parameterizedTestandparameterizedGroupspecifying the number of arguments. - Fixes bug where async test weren't properly passed to the test framework.
- Update to dart 3.
Release notes
Open source →- Added separate numbered functions for
parameterizedTestandparameterizedGroupspecifying the number of arguments. - Fixes bug where async test weren't properly passed to the test framework.
- Update to dart 3.
- Added separate numbered functions for
-
1.0.020 Apr 2023Release notes
Open source →Major rework on
paramterized_testwhich includes:- DISCONTINUED
parameterized_sourcepackage- DEPRECATED
ParameterizedSource.csv - DEPRECATED
ParameterizedSource.value - DEPRECATED
ParameterizedSource.values
- DEPRECATED
- DISCONTINUED
flutter_parameterized_testpackage - Added new TestParameters class for providing the test body to execute.The package has
implementation for TestParameters support up to 10 arguments. - Added extensions
withTestOptionsfor providing test options to test values. - Added
parameterizedGroup.
Release notes
Open source →Major rework on
parameterized_testwhich includes:- DISCONTINUED
parameterized_sourcepackage- DEPRECATED
ParameterizedSource.csv - DEPRECATED
ParameterizedSource.value - DEPRECATED
ParameterizedSource.values
- DEPRECATED
- DISCONTINUED
flutter_parameterized_testpackage - Added new TestParameters class for providing the test body to execute.The package has implementation for TestParameters support up to 10 arguments.
- Added extensions
withTestOptionsfor providing test options to test values. - Added
parameterizedGroup.
- DISCONTINUED
-
1.0.0-rc218 Apr 2023 pre-release -
1.0.0-rc104 Apr 2023 pre-releaseRelease notes
Open source →- DISCONTINUED
parameterized_sourcepackage- DEPRECATED
ParameterizedSource.csv - DEPRECATED
ParameterizedSource.value - DEPRECATED
ParameterizedSource.values
- DEPRECATED
- DISCONTINUED
flutter_parameterized_testpackage - Added new TestParameters class for providing the test body to execute.The package has implementation for TestParameters support up to 10 arguments.
- Added extensions
withTestOptionsfor providing test options to test values.
- DISCONTINUED
-
0.2.119 Jul 2022Release notes
Open source →Adding separate packages for parameterized tests.
Added package
parameterized_sourceto share source classes betweenparameterized_testandflutter_parameterized_test.
parameterized_testis based on the darttestpackage
flutter_parameterized_testis based on the flutter sdktestpackage -
0.2.015 Jul 2022 -
0.0.511 Feb 2022 -
0.0.418 Nov 2021 -
0.0.317 Nov 2021 -
0.0.217 Nov 2021