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
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 parameters