The Importance of Setup and Teardown
Learn how to use shared code in tests.
When we run xUnit tests, each scenario is isolated from other scenarios, and the tests are typically stateless. However, sometimes different test scenarios have the same setup sequence. Likewise, sometimes test scenarios create ...