I am using Automapper in my application and I am testing the maps with fake objects, so I have slightly different maps in my tests than in my production code, what is the best way to create/call the maps, I have the maps sitting right now at each fixture’s
[TestFixtureSetUp]
As the Mapper class is static is it possible to read the maps once per “all test” run, because I found it slows down the tests very much
Thank you.
With NUnit you could use
[SetUpFixture]:With MbUnit you could use
[AssemblyFixture]which is executed once per unit test assembly.