-
Notifications
You must be signed in to change notification settings - Fork 41
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
Detailed old test report of TestNG test suites is erroneous #251
Comments
We investigated this issue an found commit which is affecting this result. From this commit above issue is producing: 0d7db9c But in this commit I didn't change anything related to logging and testng result file. I have added the one dependency Currently I trying to remove this dependency and finding alternative dependency for it. I will check, is it works or not after removing this dependency. Thank you. |
As far as I see the html file is nor created during the test run with version 5.0 of the teamengine. That's why the link to the detailed test report is missing. |
The transformation from the test-results to the HTML (based on testng) is triggered in the CTL of the Test-Suite (e.g wfs-suite.ctl) in the template tns:testng-report. The transformation is executed, but the template does not match. The problem is that the xml to transform is the rdf/earl document, not the expected testng-result. The log in the console is also corrupt as it is not transformed for the same reasons. The changes on com.occamlab.te.spi.executors.testng.TestNGExecutor#getPreferredMediaType() from the commit above leads to this behaviour as the default media type is now "application/rdf+xml" and not "application/xml". For the execution with the Web GUI the old behaviour should be restored. |
Testing was successful: Internal SoapUI test runs successfully. Internal Selenium tests confirm that fix solves the reported problem. All tests will be made available soon: https://github.com/opengeospatial/teamengine/wiki/Tests-for-TEAM-Engine |
Workflow to reproduce bug:
See the detailed old test report.
.View Details
ofTest tns:Main
. -> Overview of all tests should be shown but test logging is shown instead.See the detailed test report.
is missing.The correct behaviour can be reproduced with production [1] and the erroneous with beta [2].
[1] http://cite.opengeospatial.org/teamengine/
[2] http://cite.opengeospatial.org/te2/
The text was updated successfully, but these errors were encountered: