Комментарии:
@AJAUTOMATION thanks for this, really helpful! One question I have is, how can we include all the dependencies in the jar using Maven instead of exporting as runnable jar from eclipse? To include all required classes including the jar dependencies from Maven, and executing the jar from command line? I have not had any success using maven jar plugin even if I run as <goal>test-jar</goal> with all my classes in src/test/java and testng xml in src/test/resources. It seems I get only testng errors, noclassdeffounderrors
ОтветитьMy question is I cannot able to open runnable jar file. Please suggest me what to do
ОтветитьHi. This is very useful video
ОтветитьNice video! You really helped me a lot
ОтветитьIs there a way to build up the executable jar file using maven for the TestNG project?
ОтветитьNull Pointer exception while running the executable jar in cmd..running fine in eclipse..using testng in the project
Ответить@aj If there is test case like storing file on user directory. When executing test case using jar; where those file get stored ?
ОтветитьAmazing content!. Could you let me know if it is better to create jar file or run with mvn test? Up till now we used to provide our project as a zip file and ask testers to just run mvn test. My observation is that mvn test is very slow (we run appium tests on Android device). Is jar files a better approach?
ОтветитьAnother great video
Ответить