Rank: Advanced Member
Groups: Registered
Joined: 6/20/2011(UTC) Posts: 32 Location: Vancouver, BC, Canada
Thanks: 1 times Was thanked: 3 time(s) in 3 post(s)
|
It would be very useful if one could associate with a given test (or fixture or what have you) one or more files (perhaps via a test or fixture attribute including the dependency's relative path or somesuch) for use when NCrunch cannot be expected to detect the dependency between test and file. The modification of such a file could then trigger the associated test(s), particularly when running in incremental mode but I suppose also for use in prioritization when in the normal automatic mode.
As but one example, this would be especially handy for use with tests where an external file holds the expected results of a test, where I would like to start a given TDD cycle by making a modification to the external file, watch the test go red, modify the code to produce the newly-desired results, and finally watch the test go green, all without pinning tests and running them manually.
|