Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Missing files when running test
mtanneryd
#1 Posted : Wednesday, November 12, 2014 11:22:45 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 11/12/2014(UTC)
Posts: 1
Location: Sweden

Thanks: 1 times
Hi!

Our tests rely heavily on various test data files. These files are all set to "Copy always". But, tests in project A might be using test data files included in a referenced project B. These files are not copied into the ncrunch workspace, only the files defined in the same project as the actual test is in. We need files for the current project and ALL its referenced projects to be copied to the workspace. How do we resolve this?

Any and all help would be much appreciated.

/Måns
Remco
#2 Posted : Wednesday, November 12, 2014 9:48:20 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,976

Thanks: 931 times
Was thanked: 1257 time(s) in 1170 post(s)
Hi Måns,

Thanks for posting!

You can solve this by turning on the 'Copy referenced assemblies to workspace' project-level configuration setting inside Project A. Note that there are some performance implications behind doing this. If you can find a way to reference these data files relative to the Project B assembly, this will provide you with a cleaner solution.


Cheers,

Remco
1 user thanked Remco for this useful post.
mtanneryd on 11/13/2014(UTC)
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.024 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download