Pertanyaan dan Jawaban Wawancara Paling Populer & Tes Online
Platform edukasi untuk persiapan wawancara, tes online, tutorial, dan latihan langsung

Bangun keterampilan dengan jalur belajar terfokus, tes simulasi, dan konten siap wawancara.

WithoutBook menghadirkan pertanyaan wawancara per subjek, tes latihan online, tutorial, dan panduan perbandingan dalam satu ruang belajar yang responsif.

Prepare Interview

Ujian Simulasi

Jadikan Beranda

Bookmark halaman ini

Langganan Alamat Email

TestNG Pertanyaan dan Jawaban Wawancara

Ques 1. What is TestNG?

TestNG is a testing framework inspired by JUnit and NUnit, designed to simplify a broad range of testing needs, from unit testing to integration testing.

Apakah ini membantu? Add Comment View Comments
 

Ques 2. Explain the key features of TestNG.

Key features of TestNG include annotations, grouping, parallel execution, data-driven testing, parameterization, and dependency management.

Apakah ini membantu? Add Comment View Comments
 

Ques 3. What are TestNG annotations? Provide some examples.

TestNG annotations are markers in the code that define how the methods below them should be run. Examples include @Test, @BeforeMethod, @AfterMethod, @BeforeClass, @AfterClass, @BeforeSuite, @AfterSuite, and more.

Apakah ini membantu? Add Comment View Comments
 

Ques 4. Explain dependency testing in TestNG.

Dependency testing in TestNG allows you to specify the order of test method execution by defining dependencies between them using the 'dependsOnMethods' attribute.

Apakah ini membantu? Add Comment View Comments
 

Ques 5. What is the purpose of the @DataProvider annotation?

The @DataProvider annotation is used to supply test methods with data. It allows you to define a method that returns an Object[][] where each Object[] can be assigned as parameters to the test method.

Apakah ini membantu? Add Comment View Comments
 

Most helpful rated by users:

Hak Cipta © 2026, WithoutBook.