You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Parametrizing Pytest tests and fixtures makes testing different setups and configuration more natural. The pytest concept of parametrizing translates well to the nanaimo concept of testing different hardware configurations on a single test rig.
Assume that a test rig may have any number of widgets that all respond to the foo test. A parametrized test would look like this:
Parametrizing Pytest tests and fixtures makes testing different setups and configuration more natural. The pytest concept of parametrizing translates well to the nanaimo concept of testing different hardware configurations on a single test rig.
Assume that a test rig may have any number of widgets that all respond to the
foo
test. A parametrized test would look like this:Ideally, the list of widgets (
w0, w1, w2
) would live in /etc/nanaimo.cfg, not in the test file.Right now, /etc/nanaimo.cfg is used to specify the default arguments for fixtures, but the outputs of a fixture cannot be used to parametrize a test or a fixture, [2].
This issue is for a feature that allows pytest parametrization via /etc/nanaimo.cfg (or another fixed, test rig-specific file).
The text was updated successfully, but these errors were encountered: