Sail E0 Webinar
Question
What are fixtures in JUnit?
Options:
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


Tests need to run against the backdrop of set of predefined or known objects. This set of objects is called a test fixture.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers