Multi-invokers are a new feature to complement data providers, with greater flexibility: allowing for multiple parameters to be passed to the test function, and for parameters containing whitespace.
📚 Description
Multi-invokers are a new feature to complement data providers, with greater flexibility: allowing for multiple parameters to be passed to the test function, and for parameters containing whitespace.
🔖 Changes
Extended the core runner:run_test function to accept arbitrary arguments to pass to test function.
Always use "$@" to pass through arguments so they are properly quoted!
Created new "parameterized tests" doc page, which documents multi-invokers and incorporates the doc for data providers which was previously at the bottom of the test-files page.
✅ To-do list
[x] I updated the CHANGELOG.md to reflect the new feature or fix
[x] I updated the documentation to reflect the changes
Multi-invokers are a new feature to complement data providers, with greater flexibility: allowing for multiple parameters to be passed to the test function, and for parameters containing whitespace.
📚 Description
Multi-invokers are a new feature to complement data providers, with greater flexibility: allowing for multiple parameters to be passed to the test function, and for parameters containing whitespace.
🔖 Changes
Extended the core
runner:run_test
function to accept arbitrary arguments to pass to test function. Always use "$@" to pass through arguments so they are properly quoted! Created new "parameterized tests" doc page, which documents multi-invokers and incorporates the doc for data providers which was previously at the bottom of the test-files page.✅ To-do list
CHANGELOG.md
to reflect the new feature or fix