After cloning this freshly in IntelliJ, once after running “mvn clean install”
giving below error:
Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project core-module: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test failed: There was an error in the forked process
org.apache.maven.surefire.testset.TestSetFailedException: Suite file C:Fixescore-module${suite}.xml is not a valid file
at org.apache.maven.surefire.testng.TestNGXmlTestSuite.locateTestSets(TestNGXmlTestSuite.java:98)
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:120)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
I checked on updating the surefire versions and tried ‘invalidate caches and restart’
still, it’s not working. whatever I am doing its still giving same error on anything.
org.apache.maven.surefire.testset.TestSetFailedException: Suite file C:Fixescore-module${suite}.xml is not a valid file
for this i have checked by running this command for suite to run “mvn clean -Dprofile=mtf -Dsurefire.suiteXmlFiles=testng.xml”
user0705 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1