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?
Copyright © 2021 Jogjafile Inc.
In NUnit, use TestFixtureTearDown attribute which will run once per text fixture (Class)
In MSTest, use ClassCleanup attribute.