I've been experimenting with the way we are including NUnit testing in our
NAnt scripts. In particular I'm trying to separate out the definition of the
specific assemblies to test from the actual test target by means of a
fileset. I've created something like the following:
<fileset id="testassemblies">
<include name="UtilitiesTest.dll" />
</fileset>
<target name="do-test">
<nunit2>
<formatter type="Plain" />
<test>
<assemblies refid="testassemblies" />
</test>
</nunit2>
</target>
>From what I understand of the docs, assemblies expects a fileset so I
thought the above would be OK, but when I run the do-test target I get:
DataType child element 'Assemblies' in class
'NAnt.Core.Element+AttributeConfigurator' must define a set method.
Have I got something wrong with syntax? Or is it not possible to do what I'm
trying to do in this way?
Thanks.
Phil
------------------------------------------------------------------------------
DISCLAIMER: This email and files transmitted are confidential and are intended solely
for the use of the intended recipient. If you are not the intended recipient, or the
person responsible for delivering it to the intended recipient, you may not copy,
disclose, distribute or use it in any unauthorised manner. If you have received this
email in error please notify us by email to [EMAIL PROTECTED] and then delete it and
any attachments accompanying it. Please note that Wolverhampton City Council cannot
guarantee that this message or any attachments are virus free or have not been
intercepted and amended.
Any views or opinions expressed within this email are those of the author and may not
necessarily reflect those of Wolverhampton City Council and no contractual arrangement
is intended to arise from this communication.
==============================================================================
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users