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
Add canUpdate as invariant #188 #189 #190 #192 #260
Conversation
@magwas If I dont give a static value or set it somewhere the sonarcloud will fail. |
I told Sonar not to whine about pubic properties of an Entity. |
src/test/java/org/rulez/demokracia/pdengine/VoteInitialValuesTest.java
Outdated
Show resolved
Hide resolved
} | ||
|
||
@tested_feature("Manage votes") | ||
@tested_operation("modify vote") | ||
@tested_behaviour("vote invariants") |
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.
You are revoking a test here. don't do that.
Just add the new behaviour (I hope the analysis script can cope with that. If not, then it will be fixed.)
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.
I can not leave two tested_behaviour here :(
So should I create a separate test for it?
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.
thanks for the cleanup
testcasecount=3 |
Are you sure about the 3 testcase? :) |
what is your count? |
src/test/java/org/rulez/demokracia/pdengine/ObtainBallotInvariantsTest.java |
Well, I did not count VoteModificationInvariantsObservedTest.java, as it is not a new test, and does not have the behaviour recorded. |
#188
#189
#190
#192