in Testing by

How to skip a method or a code block in TestNG?

1 Answer

0 votes
To skip a particular test method or a code, then you can set the ‘enabled’ parameter in test annotation to false.

@Test(enabled = false)

Related questions

0 votes
asked Feb 12, 2020 in Ansible by miceperry
0 votes
0 votes
asked Feb 6, 2020 in JavaScript by rajeshsharma