I never had to use Cucumber hooks in all my experience. I had to admit though, that I didn’t write the framework from scratch. At my last job, there framework was TestNG with Cucumber (that is why never had to use TEST annotation). Am I right, that if you have TestNG, you don’t need to use hooks, because you use TestNG Before/After annotation. In other words, you can’t use both. You can use ones or the others. And I think that using HOOKS defeats the purpose of having TestNG
Source: Read More