I'm trying to use the AutoData feature in AutoFixture for my NUnit tests in the following way:
[Test]
[AutoData]
public void PharmaciesAndDelegatesShouldBeLinkedEachOther(string s) {
...
}
However, I'm receiving the following error when running the test. Everything else in the test work correctly as long as I don't pass that parameter:
Result Message: No arguments were provided.
What am I doing wrong?
Weird enough, it seems that the NUnitTestAdapter package is not compatible with Autofixture AutoData attribute... I installed TestDriven.Net and ran the tests with it and AutoData works perfectly, feeding the parameters to the method with no problem.
Thanks for all your answers!