Invocation of a method after all tests have been completed is specified by the ____ annotation

16. Invocation of a method after all tests have been completed is specified by the ____ annotation.

  1. @AfterClass
  2. @After
  3. @BeforeClass
  4. @Test(timeout=1000)

Answer: A) @AfterClass

Explanation:

Invocation of a method after all tests have been completed is specified by the @AfterClass annotation

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.