-
Notifications
You must be signed in to change notification settings - Fork 209
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
[incubator-kie-issues-1131] Improve DataOutput tests within DataTest.Java adding assert statement #3614
[incubator-kie-issues-1131] Improve DataOutput tests within DataTest.Java adding assert statement #3614
Conversation
failures not related. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What I am still missing here is an assert on the actual outcome of the WIH execution. It would make sense to check the process variable for the content that has been created during the WIH execution and mapped to its output.
Hi @martinweiler, will check the same and update on the same. |
7496aa6
to
fc8d1c0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job @Abhitocode
All testdataOutput tests within DataTest.java misses assert statement that actually evaluates the functionality. Add the assert statements and verify.
Tests can be identified by referring to:
https://github.com/apache/incubator-kie-kogito-runtimes/blob/main/jbpm/jbpm-tests/src/test/java/org/jbpm/bpmn2/DataTest.java#L389