I'm working on a custom NAnt task that I'm trying to write some unit
tests for and ran into a bit of a problem.  I wanted to write my tests
in a manner similar to the Nant tests that are in the nant project,
since you already have the infrastructure for it.  I didn't want to link
to the source build so I copied the following files to my project:

        BuildTestBase
        ConsoleCapture
        TempDir
        TempFile
        TestBuildException

Now the first time that I ran the test in the Nunit GUI it complained
about not have an app.config with a 'nant' section in it.  Which I
thought was odd since I assumed that would be read from the
nant.exe.config file.  So I copied the nant.exe.config file to the
location and name that nunit said was required.  Then I ran nunit again.
This time it complains that the framework that I am using (1.1) is not
configured properly. Specifically it states "Invalid element
<readregistry>".  Any ideas what I am missing?

Thanks,

Michael Fischer

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to