PackageTrack
Sign in Get early access

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 2026
2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 17
  1. 2.0.3 18 Jun 2026
    Release notes

    What's Changed

    • Added guard clause in extractFunctionArgumentsSignature to prevent RangeError on unexpected error formats.
    • Exported CustomDescriptionBuilder.
    • Fixed typo customDiscriptionBuilder in 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

    Open source →
    Release notes
    • Added guard clause in extractFunctionArgumentsSignature to prevent RangeError on unexpected error formats.
    • Exported CustomDescriptionBuilder.
    • Fixed typo customDiscriptionBuilder in documentation.
    • Fixed truncated doc comment on ListTestParametersEx.
    • Removed duplicate test.
    • Fixed minor typos in documentation and tests.
    • added a skill for writing parameterized tests
    Open source →
  2. 2.0.2 01 Oct 2025
    Release notes

    What's Changed

    Full Changelog: v2.0.1...v2.0.2

    Open source →
    Release notes
    • Update dependencies
      • Update very_good_analysis to 10.0.0
      • Update test to 1.26.2
      • Update meta to 1.16.0
      • Updated stack_trace to 1.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.
    Open source →
  3. 2.0.1 16 Aug 2024
    Release notes

    What's Changed

    Full Changelog: v2.0.0...v2.0.1

    Open source →
    Release notes
    • Updated dependencies
      • sdk to >=3.4.0 <4.0.0
      • test to 1.25.7
      • meta to 1.15.0
      • very_good_analysis to 6.0.0
    Open source →
  4. 2.0.0 23 Apr 2024
    Release notes

    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

    Open source →
    Release notes
    • 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
    Open source →
  5. 1.1.3 05 Mar 2024
    Release notes

    What's Changed

    New Contributors

    Full Changelog: v1.1.2...v1.1.3

    Open source →
    Release notes
    • Added CustomDescriptionBuilder to 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>>
    
    Open source →
  6. 1.1.2 02 Feb 2024
    Release notes

    What's Changed

    Full Changelog: v1.1.1...v1.1.2

    Open source →
    Release notes
    • 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
    Open source →
  7. 1.1.1 11 Aug 2023
    Release notes
    • Exported parameterizedGroup base and numeric and parameterizedTest from parameterized_test numeric functions.
    Open source →
    Release notes
    • Exported parameterizedGroup base and numeric and parameterizedTest from parameterized_test numeric functions.
    Open source →
  8. 1.1.0 11 Aug 2023
    Release notes
    • Added separate numbered functions for parameterizedTest and parameterizedGroup specifying the number of arguments.
    • Fixes bug where async test weren't properly passed to the test framework.
    • Update to dart 3.
    Open source →
    Release notes
    • Added separate numbered functions for parameterizedTest and parameterizedGroup specifying the number of arguments.
    • Fixes bug where async test weren't properly passed to the test framework.
    • Update to dart 3.
    Open source →
  9. 1.0.0 20 Apr 2023
    Release notes

    Major rework on paramterized_test which includes:

    • DISCONTINUED parameterized_source package
      • DEPRECATED ParameterizedSource.csv
      • DEPRECATED ParameterizedSource.value
      • DEPRECATED ParameterizedSource.values
    • DISCONTINUED flutter_parameterized_test package
    • Added new TestParameters class for providing the test body to execute.The package has
      implementation for TestParameters support up to 10 arguments.
    • Added extensions withTestOptions for providing test options to test values.
    • Added parameterizedGroup.
    Open source →
    Release notes

    Major rework on parameterized_test which includes:

    • DISCONTINUED parameterized_source package
      • DEPRECATED ParameterizedSource.csv
      • DEPRECATED ParameterizedSource.value
      • DEPRECATED ParameterizedSource.values
    • DISCONTINUED flutter_parameterized_test package
    • Added new TestParameters class for providing the test body to execute.The package has implementation for TestParameters support up to 10 arguments.
    • Added extensions withTestOptions for providing test options to test values.
    • Added parameterizedGroup.
    Open source →
  10. 1.0.0-rc2 18 Apr 2023 pre-release
    Release notes
    • Added parameterizedGroup.
    Open source →
  11. 1.0.0-rc1 04 Apr 2023 pre-release
    Release notes
    • DISCONTINUED parameterized_source package
      • DEPRECATED ParameterizedSource.csv
      • DEPRECATED ParameterizedSource.value
      • DEPRECATED ParameterizedSource.values
    • DISCONTINUED flutter_parameterized_test package
    • Added new TestParameters class for providing the test body to execute.The package has implementation for TestParameters support up to 10 arguments.
    • Added extensions withTestOptions for providing test options to test values.
    Open source →
  12. 0.2.1 19 Jul 2022
    Release notes

    Adding separate packages for parameterized tests.

    Added package parameterized_source to share source classes between parameterized_test and flutter_parameterized_test.
    parameterized_test is based on the dart test package
    flutter_parameterized_test is based on the flutter sdk test package

    Open source →
    Release notes
    • Fixed issues with wrong dependencies
    Open source →
  13. 0.2.0 15 Jul 2022
    Release notes
    • Fixed some issues with seperate parameterized_test variances
    Open source →
  14. 0.0.5 11 Feb 2022
    Release notes
    • Updated some dependencies
    Open source →
  15. 0.0.4 18 Nov 2021
    Release notes
    • Fixed some formatting
    Open source →
  16. 0.0.3 17 Nov 2021
    Release notes
    • Fixed README markdown formatting for pub.dev
    Open source →
  17. 0.0.2 17 Nov 2021
    Release notes
    • Fixed dependency warnings for publishing
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive