What is the purpose of a test fixture in desktop application unit testing?
-
A
A hardware test bench
-
B
A consistent, known state set up before each test to ensure tests are independent and repeatable
-
C
A UI template used during testing
-
D
A mock server for API calls