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.
Daily Usage Issues
Additional files to include will not get updated between test executions
Started by robertwilczynski on 4,926 views
Remco NCrunch Developer
#4720
14 Oct 2013 21:44 UTC
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
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
Post a reply
Log in to reply.