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

Notification

Icon
Error

Additional files to include will not get updated between test executions
robertwilczynski
#1 Posted : Monday, October 14, 2013 8:10:48 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 10/14/2013(UTC)
Posts: 1
Location: Poland

Hi,

I have the following problem. I'm using NCrunch to execute integration tests against a database. My project folder structure is roughly like this:

/db
/src/
src/tests/testproject

All database update scripts reside in /db folder. I asked NCrunch to include that folder in the workspace ugin db\**.* wildcard notation in order to
be able to find those scripts and execute them to set up my db before integration tests.
All is fine until I add a file to the folder after NCrunch has initialized. At this point NCrunch will not refresh the folder in the workspace making my tests fail (they expect the new file).
I would like NCrunch to detect changes such changes between test runs or just copy all files again based on a configuration setting.

Is this something I can expect to be supported. I'm on 1.46.0.20 now.

Robert.
Remco
#2 Posted : Monday, October 14, 2013 9:44:23 PM(UTC)
Rank: NCrunch Developer

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

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

Thanks for posting!

This is a known limitation of the additional files to include setting. Currently it only watches known file paths for changes, rather than detecting newly introduced or deleted files. There is a task to address this in a future release. For the time being, you'll need to reset the engine for it to detect any new files that are added here.

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