2

As you guys know junit & TestNG are testing frameworks, If you call TestNG.xml it will call the pre compiled classes, not the existing one.

If there any way to achive this with out using Maven or other build tools?

7
  • 2
    Maven is just a build tool that lets you compile your code, run tests, manage your classpath via dependencies. If you dont like to use Maven, then you can switch to using Gradle which is another build tool. But the biggest question here is, why do you not want to use Maven? What is your use case? Can you please edit your question and add more context ? Commented Dec 18, 2018 at 15:09
  • Have you tried by executing Testng.xml as suite ? Commented Dec 19, 2018 at 4:55
  • I mean to say that ! is there any provision such that we can compile the code, before executing the tests Commented Dec 19, 2018 at 9:31
  • @SiKing It is entire new concept. not a duplicate Commented Dec 19, 2018 at 9:32
  • I am not sure, Why the peoples are marking this question as a duplicate ? They are understanding the question. Commented Dec 19, 2018 at 14:34

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.