More Documentation will come later, here is a basic usage example for inspiration...:
[TestMethod]
public void Adding_two_numbers_gives_the_sum()
{
ParameterizedTest
.Setup(() => new Calculator())
.For<int, int, int>(c => c.Add)
.Given(2, 2).Expect(4).Because("It's the sum")
.Given(0, 0).Expect(0).Because("Zero is the additive identity.")
.Evaluate();
}
or a similar test without a setup:
[TestMethod]
public void Parameterized_tests_can_be_created_without_setup()
{
var calculator = new Calculator();
ParameterizedTest
.For<int, int, int>(calculator.Add)
.Given(2, 2).Expect(4).Because("It's the sum")
.Given(0, 0).Expect(0).Because("Zero is the additive identity.")
.Evaluate();
}