Discussion :: JUnit MCQs
- What are fixtures in JUnit?
A.
Objects that specify when to run a test
|
B.
Fixed state of a set of objects used as a baseline for running tests
|
C.
Bundle of few test cases run together
|
D.
Date objects
|
Answer : Option B
Explanation :
Tests need to run against the backdrop of set of predefined or known objects. This set of objects is called a test fixture.
Be The First To Comment