Test Parameterization
Overview
Test parameterization is a powerful practice for enhancing your testing scenarios. The concept of parameters in testing is simply that your test cases may define and use some parameters. During the execution of a test case, the parameters are filled in with their actual value, so a parameterized variation of the original test case is produced.
The main benefits of parameterization are as follows:
It is easier to manage complex test cases by externalizing the changeable parts of tests as parameters. You can automatically run multiple variations of each test. If a parameter has multiple values provided, it causes several runs of each test for each variation of the parameters.
Parameters allow the sharing of information between multiple test cases. Sharing is easily achieved by defining parameter values in the test sets, which effectively and automatically share these values with all test cases participating in the test set.
Was this helpful?