samedi 6 février 2016

How do I use DataSource for local dictionary in VisualStudio UnitTests (C#.net)?

I want to configure the unit tests to run for a predefined set of data but do not want to define those in external database/file. Reason being - it's a simple data collection that would make sense to be visible right in the test .cs file. Is there any way you can configure the datasource to a collection/dictionary in memory.

Aucun commentaire:

Enregistrer un commentaire