Month: March 2018

Testing your code part 2 – Theories and InlineData

In the last article we introduced xUnit.net and talked about the very basic way to write tests with the [Fact] attribute. Today will we’ll add some spicy to our tests with the [Theory] attribute. The [Theory] attribute allows you to dynamically pass a set of data to your test method and to execute a test for every given set. This way …

Testing your code part 2 – Theories and InlineData Read More »