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
Parameterized testing is a staple of any unit-testing framework.
This issue is to track adding support for basing parameterized testing so that tests can operate with different inputs. In particular, the goal of this feature is:
Inputs can be accepted as function arguments, but specified as a simple parameter to the neotest attribute,
Multiple inputs produce the complete-graph of possible inputs. This means that a = [1, 2, 3] and b = [4, 5] will produce 6 total tests: (1, 4), (1, 5), (2, 4), (2, 5), (3, 4), (3, 5).
Specifying parameter inputs does not require the neotest parameters to be in the same order as function parameters
The text was updated successfully, but these errors were encountered:
As a follow-up from completing #1, this include a new example test
that includes fixtures that also use parameters at the same time.
This is to verify that there have been no regressions from the recent
changes.
Parameterized testing is a staple of any unit-testing framework.
This issue is to track adding support for basing parameterized testing so that tests can operate with different inputs. In particular, the goal of this feature is:
neotest
attribute,a = [1, 2, 3]
andb = [4, 5]
will produce 6 total tests:(1, 4), (1, 5), (2, 4), (2, 5), (3, 4), (3, 5)
.neotest
parameters to be in the same order as function parametersThe text was updated successfully, but these errors were encountered: