Skip to content
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

Merged
merged 1 commit into from
Sep 9, 2024

Conversation

Abhitocode
Copy link
Contributor

@Abhitocode Abhitocode commented Aug 12, 2024

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

@Abhitocode Abhitocode changed the title [incubator-kie-issues-1131] test migration from V7 to code generation-15 [incubator-kie-issues-1131] Improve testDataOutput tests with DataTest.Java adding assert statement Aug 12, 2024
@Abhitocode Abhitocode changed the title [incubator-kie-issues-1131] Improve testDataOutput tests with DataTest.Java adding assert statement [incubator-kie-issues-1131] Improve DataOutput tests within DataTest.Java adding assert statement Aug 13, 2024
@elguardian
Copy link
Contributor

failures not related.

@elguardian elguardian marked this pull request as ready for review August 23, 2024 06:26
Copy link
Contributor

@elguardian elguardian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@martinweiler martinweiler left a 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.

@Abhitocode
Copy link
Contributor Author

Hi @martinweiler, will check the same and update on the same.

@apache apache deleted a comment from kie-ci3 Aug 29, 2024
Copy link
Contributor

@martinweiler martinweiler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job @Abhitocode

@elguardian elguardian merged commit c0b56ea into apache:main Sep 9, 2024
5 of 6 checks passed
rgdoliveira pushed a commit to rgdoliveira/kogito-runtimes that referenced this pull request Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants