I have on localhost, configured test project, which is generating passed test:

    public void aFastTest() {
        System.out.println("---- ---- ----");
        Assert.assertTrue(true, "Test is true");

Console output is OK in Jenkins:


Tests run: 1, Failures: 0, Errors: 0, Skipped: 0

For to I’m using https://wiki.jenkins-ci.org/display/JENKINS/HP+Application+Automation+Tools

In Jenkins Job configuration I have in Post-build Actions – Upload test result to ALM, set:

Testing result file: **/-results.xml

And finally my problem – in the end of Jenkins console log is:

INFO: 'Upload test result to ALM' Post Build Step is being invoked.
INFO: No Test Report found.
INFO: 'Upload test result to ALM' Completed.

I thought, the path to testing result file is wrong, so I copied it everywhere, in testng-results.xml is valid result, compared to examples on net…Anyone know why there is No Test Report found?

Source link https://sqa.stackexchange.com/questions/18420/import-testng-results-from-jenkins-to-alm


Please enter your comment!
Please enter your name here