Autofixture and Moq to test Entity Framework project
In the past month I have been using brilliant tool from Mark Seemann called Autofixture. The tool is aiming unit tests and shall help you create objects with some data filled in. Usually for unit tests...
View ArticleConstructor strategies for AutoFixture
For my unit tests I’m using an awesome tool Autofixture as data generator and as an Automocking container. But by default for creation of objects it uses the constructor with least number of arguments....
View ArticleConvert your projects from NUnit/Moq to xUnit with NSubstitute
UPDATE: After initial excitement about xUnit, I needed to deal with some specifics. And now I don’t advise to move ALL your tests to xUnit. I’d recommend go into that slow and read through my rant...
View ArticleWhy I’m not migrating to xUnit completely
After initial excitement about xUnit and how cool your tests become with AutoDataAttribute. My itch to convert all my tests into xUnit have died down. And I’m not excited as much. XUnit is certainly...
View Article