Re: Need Feedback: RequiredAddinAttribute

"David Jeske" <[email protected]> Wed, 16 Jul 2008 12:36:49 -0700
Newsgroups gmane.comp.windows.dotnet.nunit.user
Message-ID <[email protected]>
On Wed, Jul 16, 2008 at 12:27 PM, Charlie Poole <[email protected]> wrote:

> The 2.5 Alpha 3 release of NUnit includes the RequiredAddinAttribute,
> used to indicate that a test expects a particular addin to be installed.
> This is intended to give a failure if the addin is not present.
>
> As explained at http://nunit.org/?p=requiredAddin&r=2.5 the attribute
> will not always be seen by NUnit when it is placed on a method or
> a class. I'm thinking of disallowing it on methods and classes in
> the next release for that reason. What do you think?


I don't use Addins, so I'm not the best qualified to answer this, but I
imagine if I did use Addins, I would want to put [RequiredAddin] mostly on
methods, so that my test framework could remain in-tact with their current
assembly organization, and those tests would simply not run if the Addin was
not available. (showing yellow in the nunit-gui)

Do most Addins make their own [MyTest] attributes to mark tests?

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

_______________________________________________
Nunit-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nunit-users