GOUIGOUX Jean-Philippe wrote:
My previous message was sent too quickly : I did not see the answers
following Timothy's message.
Thanks, Gary, for the help. But I must have missed something, as I
cannot get it right. I am NUnit-testing an assembly called
TBordNETWork.dll. I added TBordNETWork.dll.config in the same
directory, and it contains the following :
What is the name of the assembly that contains the tests, not the one
that contains the code being tested? It's the one containing the tests
that needs the config file, not the one that you're testing. If the
tests are in the same assembly as the code being tested, then that's ok.
<nunit2>
<formatter type="Xml" usefile="true"
extension=".xml" outputdir="./temp"/>
<test
assemblyname="./tests/TBordNETWork.dll"
appconfig="./tests/TBordNETWork.dll.config">
This isn't the default VS configuration, so I'm not sure how you're
organizing things. Have you moved everything from the test project's
bin/Debug (or bin/Release) into the tests directory? Or have you
changed the target directory for the compilation from bin/Debug to
something else? Otherwise, it's not clear how either NAnt or NUnit can
find everything it needs to run the test.
Gary
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users