c# - How to apply an NUnit Attribute to An Assembly -
according documentation can apply nunit timeout attribute assembly:
the attribute may specified on fixture or assembly, in case indicates default timeout subordinate test cases.
the challenge running give no indication of how apply attribute assembly on page or anywhere else can find in documentations.
i tried using [setupfixture]
, decorating attribute did not seem take. has had success in making work?
to apply timeout
attribute assembly, first add directive using nunit.framework;
assembly's assemblyinfo.cs
. add line specifying timeout:
[assembly: timeout(1000)]
Comments
Post a Comment