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

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -