I'm evaluating nCrunch, and I'm having a bit of a problem with the Additional Files to Include. It doesn't seem to be pulling in the directories I want when the directory has a relative path that goes outside the project. Note that I am not referencing to get assemblies, per se, but to get a "sister project" (a project that sits alongside my testing project). Any insight you can offer would be appreciated!
Specifically, the line that doesn't seem to be working is this:
<AdditionalFilesToInclude>\**.*;..\MyWebApplication\**.*</AdditionalFilesToInclude>
Essentially, I'm writing a solution to test customized build scripts in another project. My folder structure looks like this.
- Solution Folder
- - CustomBuildScript.Specifications
- - MyWebApplication
Here's my complete project ncrunch configuration file:
<ProjectConfiguration>
<CopyReferencedAssembliesToWorkspace>false</CopyReferencedAssembliesToWorkspace>
<ConsiderInconclusiveTestsAsPassing>false</ConsiderInconclusiveTestsAsPassing>
<PreloadReferencedAssemblies>true</PreloadReferencedAssemblies>
<AllowDynamicCodeContractChecking>true</AllowDynamicCodeContractChecking>
<AllowStaticCodeContractChecking>false</AllowStaticCodeContractChecking>
<IgnoreThisComponentCompletely>false</IgnoreThisComponentCompletely>
<RunPreBuildEvents>true</RunPreBuildEvents>
<RunPostBuildEvents>true</RunPostBuildEvents>
<PreviouslyBuiltSuccessfully>true</PreviouslyBuiltSuccessfully>
<InstrumentAssembly>true</InstrumentAssembly>
<PreventSigningOfAssembly>false</PreventSigningOfAssembly>
<AnalyseExecutionTimes>true</AnalyseExecutionTimes>
<IncludeStaticReferencesInWorkspace>true</IncludeStaticReferencesInWorkspace>
<DefaultTestTimeout>60000</DefaultTestTimeout>
<UseBuildConfiguration></UseBuildConfiguration>
<UseBuildPlatform></UseBuildPlatform>
<ProxyProcessPath></ProxyProcessPath>
<UseCPUArchitecture>AutoDetect</UseCPUArchitecture>
<IgnoredTests>
<RegexTestSelector>
<RegularExpression>DNNModuleBuildScript\.Specifications\.DebugBuildStory\..*</RegularExpression>
</RegexTestSelector>
<RegexTestSelector>
<RegularExpression>DNNModuleBuildScript\.Specifications\.ReleaseBuildStory\..*</RegularExpression>
</RegexTestSelector>
</IgnoredTests>
<AdditionalFilesToInclude>\**.*;..\MyWebApplication\**.*</AdditionalFilesToInclude>
</ProjectConfiguration>