Skip to content

Testing with concrete (and semi-concrete) schedules in P #456

Answered by ankushdesai
osavaryb asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,
This is a very interesting use-case for P. For cases where we wanted to know if the model contains certain behaviors, what we have done is, write a spec machine that observes a set of messages and assert's false when a particular sequence of events are seen by the monitor. In other words, in this case a monitor spec machine is being used as a observer that raises an alarm when a specific sequence of messages occur in the system. This is one way we have used in the past where we want to check if we are hitting certain behaviors in our models.

What you have mentioned is another interesting case, it would be great to see how we can feed implementation test cases into P. Are your implemen…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@osavaryb
Comment options

Answer selected by osavaryb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants