Infosys interview question

How can you exclude and include test cases using TestNG