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

Initial tests for JRuleWhenItemChange triggers #73

Merged
merged 2 commits into from
Nov 3, 2022

Conversation

seime
Copy link
Collaborator

@seime seime commented Nov 2, 2022

Some cleanup in the testing department.

Added JRuleItemChange tests (at least a few). But code mainly serves as an example on how testcases could be written.

Plenty of room for improvements, but IMHO a step in the right direction.

@seime seime requested a review from seaside1 November 2, 2022 18:26
@seime seime mentioned this pull request Nov 2, 2022
@querdenker2k
Copy link
Collaborator

Very nice.
I started some considerations this week as well and what i would like to have is a mock of all the stuff you could do inside the rules and of course the possibility to verify this.

@seaside1
Copy link
Owner

seaside1 commented Nov 3, 2022

Looks good. I'll merge as soon as I have tested. What are you guys opinion on debug level? For tests I prefer debug to be on, but it is easy to modify locally so not a big issue for me.

@seaside1
Copy link
Owner

seaside1 commented Nov 3, 2022

I should probably update the jrule-user project as well as the documentation.....

@seaside1 seaside1 merged commit 7d8ac43 into seaside1:main Nov 3, 2022
@seime
Copy link
Collaborator Author

seime commented Nov 4, 2022

I prefer a higher log level with less output as default, but the ability to easily change to debug level whenever a testcase breaks and needs to be debugged.

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