I would like to keep all paths in the tests relative to the test code
so that the whole folder tree of app, test and data can be kept
together, and moved to different places as it moves from dev to Uat
etc via source control..
Where should I put the test data? Can I put it in a folder under the
test code? If I do can I find the path at run time? Will that work if
the tests are run from outside the IDE? I am using the Testdriven.Net
test runner.
At run time, the current directory is set by NUnit to the
directory containing the executing test assembly. You should
be able to locate your data using a relative path.
Charlie
> --
>
> You received this message because you are subscribed to the
> Google Groups "NUnit-Discuss" group.
> To post to this group, send email to nunit-...@googlegroups.com.
> To unsubscribe from this group, send email to
> nunit-discus...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/nunit-discuss?hl=en.
>
>
>