What is TestNG in Java?
A) A testing framework inspired by JUnit and NUnit
B) A logging framework
C) A database management tool
D) A build automation tool
Answer:
A) A testing framework inspired by JUnit and NUnit
Explanation:
TestNG is a testing framework inspired by JUnit and NUnit. It is designed to make testing in Java more powerful and easier to use. TestNG provides advanced features such as annotations, parallel execution, data-driven testing, and flexible configuration, making it a popular choice for unit testing, integration testing, and end-to-end testing in Java applications.