redfish4ktc / maven-soapui-extension-plugin

This plugin adds new features and bug fixes to SmartBear plugins: soapui-pro-maven-plugin and soapui-maven-plugin.
Apache License 2.0
45 stars 22 forks source link

[test and test-multi goal] document usage of "Complete Error Logs" configuration in the Junit Reports #115

Open redfish4ktc opened 10 years ago

redfish4ktc commented 10 years ago

I have post information in this post of the SoapUI forum

it is possible to get the detail of a failure in the junit report by setting
the "Complete Error Logs" property to true.
See
* http://forum.soapui.org/viewtopic.php?f=2&t=2313
* http://forum.soapui.org/viewtopic.php?f=4&t=2448
This is a pro feature in the gui, but you can create an empty soapui settings
file, add the property and make it use by the maven plugin. This should work
even with the open source version.
The content of the TestStepResult is written directly as this is done when
generating the txt files

While implementing #42, I have been able to make this work but only when the property is configured in the soapui settings file. Global property alone did not work.

So, I would also add new integration tests to check the actual behaviour

Depending the result of these tests, we may modify our custom junit collector to be able to configure the expected behaviour by setting a java system property