-
Notifications
You must be signed in to change notification settings - Fork 21
feat(spec/test): Model-based tests for part streaming #814
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
Conversation
* Document proposal part streaming quint specification * Document proposal part streaming implementation * Remove redundant state variables (=> update invariants) * Add concrete tests in quint spec * Fix symbolinc link from mbt/test to specs * Generate and parse itf-trace
* supplemented missing proto files to test-mempool * added Buffer parsing * all invariant checks
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #814 +/- ##
==========================================
+ Coverage 75.87% 76.12% +0.24%
==========================================
Files 172 175 +3
Lines 14785 14905 +120
==========================================
+ Hits 11218 11345 +127
+ Misses 3567 3560 -7
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Closes: #763 |
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.
Left some minor comments, looks great otherwise! 🚀
Will do a deeper pass later today or tomorrow.
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.
Great work @stojanovic00! 🚀
@romac Now I realize that the Starknet related specs were moved to its own directory. Should these new MBT tests be also moved to its own directory, so it will be easier to move then later to a separate repo? |
* adde spec to impl type converters * extract dummy data generators to utils * delete unnecessary comments * rename test
Yes, let's move that spec under the appropriate folder under |
* Move code, manage dependencies * Update CI/CD MBT workflow to run starknet tests
* Excluded MBT tests from maelstrom starknet integration testing
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 see that now all CI tests are passing and the MBT tests was moved under the starknet crate. Thanks!
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.
Amazing work! Pre-approving with a few nitpicks. Looks great otherwise!
Document proposal part streaming quint specification
Document proposal part streaming implementation
Remove redundant state variables (=> update invariants)
Add concrete tests in quint spec
Generate and parse itf-trace
Closes: #763