Home / CSE MCQs / JUnit MCQs :: Discussion

Discussion :: JUnit MCQs

  1. What are fixtures in JUnit?
  2. 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

    View Answer

    Workspace

    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