test(mbt): Add Model Based Test for Emerald#201
Open
erickpintor wants to merge 2 commits intomainfrom
Open
Conversation
029e72f to
d09bd51
Compare
erickpintor
commented
Jan 29, 2026
Comment on lines
+50
to
+68
| #[quint_run( | ||
| spec = "../../specs/emerald_mbt.qnt", | ||
| step = "step_no_failures", | ||
| max_samples = 32, | ||
| max_steps = 128 | ||
| )] | ||
| fn simulation_no_failures() -> impl Driver { | ||
| EmeraldDriver::default() | ||
| } | ||
|
|
||
| #[quint_run( | ||
| spec = "../../specs/emerald_mbt.qnt", | ||
| step = "step_with_failures", | ||
| max_samples = 32, | ||
| max_steps = 128 | ||
| )] | ||
| fn simulation_with_failures() -> impl Driver { | ||
| EmeraldDriver::default() | ||
| } |
Collaborator
Author
There was a problem hiding this comment.
First uncached run took about 30m in the CI. Let me know if you want to generate fewer traces or reduce the number of steps to minimize test time.
bugarela
approved these changes
Jan 30, 2026
Collaborator
bugarela
left a comment
There was a problem hiding this comment.
All good from my side!
9b46ba5 to
6343e8e
Compare
58ca2f7 to
1de9af2
Compare
6343e8e to
b9b7e32
Compare
1de9af2 to
54fca10
Compare
b9b7e32 to
133095a
Compare
9f61e97 to
3d62414
Compare
This patch connects the newly added Quint specs to Emerald's code via the Quint Connect library.
3d62414 to
805fcc9
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This patch connects the newly added Quint specs to Emerald's code via the Quint Connect library.
PS: the best files to start reviewing are probable
tests.rsanddriver.rs.