Does TestNG support data-driven testing?

Does TestNG support data-driven testing?

Data-driven testing is a key feature of TestNG. DataProviders is a component of data-driven testing that allows you to give different values to a test case in a single run. It implies you can only run a single test case at a time, but you can run a method multiple times with various data values.