• Home
  • Public Speaking
  • Travel

Executing Tests via Gradle

If you trigger tests with Gradle, junit tests are executed by default. We have to enable testng, if we want them to be executed, on our gradle file:

We may have to add jdk path, in any trouble case, on gradle.properties file:

Now, ready to fire: (21 tests: 9 failed :O)