Open magwas opened 5 years ago
It is blocked by the other compute vote results tickets, right? So I cannot store the compute votes results without the result.
Everything can be mocked around.
grab
What should the JSON contain? Why do we need to store it?
behaviours related to information contained:
It does the tallying contains the beat table It does the tallying contains the transitive closure of the beat paths It does the result contains the cast votes with associated assurances It does the result contains tallying for each counted assurances It does the tallying contains the winners list It does the winners list marks the condorcet winner It does the winners list contains the looses to previous winner It does the winners list contains the looses to the first one It does if canVote is false, the result is timestamped It does the timestamp of the result is stored with the result It does the time of generation is stored near the result It does vote result includes the votes cast with the secret cast vote identifier.
Behaviour: Vote/Compute vote results;result is stored as json string
@tested_feature("Vote")
@tested_operation("Compute vote results")
@tested_behaviour("result is stored as json string")
A testable aspect of function: a set of pre- and postconditions.
Deviation in model