2013-01-13 22:50:20 |
Charlie Poole |
description |
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. |
Updated:
See the discussion for details on what will be implemented.
Original Request:
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. |
|