AboutThis blog is mostly about my work, but expect an occasional home project, productivity tip and tooling review.
Most used tags
Tag Archives: unittest
We use Effort with the CsvDataLoader in our integration tests. After adding a new data file we got an exception. On the forum every thread ended with something like “my bad” or “never mind”. Looking closer to my csv file showed the error: a typo … Continue reading
With Effort (Entity Framework Fake ObjectContext Realization Tool) I can create integration tests for the datalayer in my project. The tool has an Entity Framework provider that works on an in-memory database. This means I can call SaveChanges without mocking it or having a dependency on a … Continue reading
One of the software development best practices is to use interfaces and dependency injection. But be careful when using a mocked version of your repository. With FakeDbSet an InMemory IDbSet can be created for unit testing purposes. During setup you’d … Continue reading
I’ve been fine tuning my code coverage runsettings file for some time now and I’m ready to share it with the world. You can use it in Visual Studio by setting the test settings file. In MSBuild you can specify … Continue reading