Junior Testing What is the purpose of the [SetUp] and [TearDown] attributes? [SetUp] runs code before each test method to prepare test environment.[TearDown] runs code after each test to clean up resources or reset state.