Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not find the testng.xml in the jar file Error #23

Open
QA1980 opened this issue Feb 10, 2022 · 0 comments
Open

Could not find the testng.xml in the jar file Error #23

QA1980 opened this issue Feb 10, 2022 · 0 comments

Comments

@QA1980
Copy link

QA1980 commented Feb 10, 2022

My test fails on AWS build even after I followed all steps https://aws.amazon.com/premiumsupport/knowledge-center/xml-file-tests-jar-file-device-farm/
Question:

  1. Should I comment out Desire capabilities before running mvn clean package -DskipTests=true?
  2. when I check if the testng.xml exist in the jar tests here is what I get
0 Thu Feb 10 11:59:32 EST 2022 META-INF/
 128 Thu Feb 10 11:59:32 EST 2022 META-INF/MANIFEST.MF
1531 Thu Feb 10 11:59:30 EST 2022 LoginTest.class
   0 Thu Feb 10 11:59:32 EST 2022 META-INF/maven/
   0 Thu Feb 10 11:59:32 EST 2022 META-INF/maven/com.tesksio/
   0 Thu Feb 10 11:59:32 EST 2022 META-INF/maven/com.tesksio/Aws-Booksio/
3562 Thu Feb 10 11:56:42 EST 2022 META-INF/maven/com.test/Aws-Booksio/pom.xml
 126 Thu Feb 10 11:59:32 EST 2022 META-INF/maven/com.test/Aws/pom.properties

Does this mean that tesng is not available in the jar ?
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant