Which of the following ways can be used to add TestNG in your Eclipse?

9. Which of the following ways can be used to add TestNG in your Eclipse?

  1. TestNG can be installed either by adding the TestNG jar file to the Build Path or by installing the TestNG plug-in.
  2. The TestNG plug-in is preferable to the testng.jar file since you don't have to install it for every project. Testng.jar files, on the other hand, must be added to every project's build path.
  3. Both A and B
  4. None of the above

Answer: C) Both A and B

Explanation:

The following ways can be used to add TestNG in your eclipse -

  1. TestNG can be installed either by adding the TestNG jar file to the Build Path or by installing the TestNG plug-in.
  2. The TestNG plug-in is preferable to the testng.jar file since you don't have to install it for every project. Testng.jar files, on the other hand, must be added to every project's build path.

Comments and Discussions!

Load comments ↻






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