Skip to content
sergeyshushlyapin edited this page May 19, 2015 · 14 revisions

Including configuration files

Usually all the necessary test environment created and configured in a unit test but sometimes changes to the default FakeDb's App.config file required. For this purpose FakeDb supports automatic loading of the configuration files located in the <test_project>\App_Config\Include folder.

Configuring NCrunch

In order to configure NCrunch in the <test_project>.ncrunchproject file set the following settings:

<CopyReferencedAssembliesToWorkspace>true</CopyReferencedAssembliesToWorkspace>
<AdditionalFilesToInclude>license.xml;App_Config\**.*</AdditionalFilesToInclude>

Read more details about the configuration on the NCrunch doc site:

Clone this wiki locally