Say I have an ordered test which contain test method A, B and C.
How can I Run cleanup on completion of the entire ordered test, not after each method completes but when the entire ordered test completes?
Say I have an ordered test which contain test method A, B and C.
How can I Run cleanup on completion of the entire ordered test, not after each method completes but when the entire ordered test completes?
In NUnit, use TestFixtureTearDown attribute which will run once per text fixture (Class)
In MSTest, use ClassCleanup attribute.