Comment 0 for bug 1098766

Revision history for this message
Rodney Foley (rsfoley) wrote : Feature Request: AssemblyTearDown Attribute

It would be great to have an attribute that can decorate a static method called AssemblyTearDown. It would mark the method that should be called after all the tests within the assembly have run to allow resources obtained by the assembly to be freed.

- It needs to be applied to a static method
- It would be called after all the other TearDown's have been processed.
- It should not need to be in a class that has test methods.
- NUnit should only allow one method to be decorated with this attribute within an assembly.