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

Notification

Icon
Error

Recursive folder searching in 'Additional files to include'
Marqus
#1 Posted : Tuesday, July 31, 2012 12:20:39 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 2/22/2012(UTC)
Posts: 38
Location: Poland

Thanks: 2 times
Was thanked: 6 time(s) in 6 post(s)
I've got some tests that require some external files (ie. expected files) and keep this files in TestData folders spreaded through project structure ie:

MyComponent\Tests\TestData
MyComponent\SystemA\Tests\TestData
MyComponent\SystemB\Subsystem\Tests\TestData

Now I have to manually add every TestData folder in 'Additional files to include'. It would be nice if I could write:

**\TestData\**.*

to copy all files from TestData folder regardless of their exact location in directory structure.
Remco
#2 Posted : Tuesday, July 31, 2012 9:31:19 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,162

Thanks: 964 times
Was thanked: 1296 time(s) in 1202 post(s)
Hi Marqus -

You can. The syntax is slightly different to what you've described though. Instead, try using: TestData\**.*


Cheers,

Remco
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.022 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download