Replies: 3 comments 6 replies
-
we now have some video tutorials teaching how to write MG tests:
These are multi-episode playlists with participation of SRI community members: |
Beta Was this translation helpful? Give feedback.
-
another suggestion for convention: both PR contributor + reviewer should make sure the new added MG test is passing locally |
Beta Was this translation helpful? Give feedback.
-
recently @jbesraa proposed an alternative path inspired by LDK: https://github.com/lightningdevkit/ldk-node/tree/main/tests the idea would be to leverage integration tests to enforce SRI follows the spec MG tests would be restricted for interoperability tests only (which is the original purpose of MG anyways) |
Beta Was this translation helpful? Give feedback.
-
This is a discussion to debate the proposal of Message Generator tests as a Requirement for PRs that fix bugs coming from message ordering.
This is strategically important to ensure the robustness of SRI, as well as an important foundation for future implementations.
MG is a powerful to detect and mitigate protocol edge cases and make sure roles are properly following the specs.
basically, every bug we see on our prototype roles is a big opportunity to add value to MG and make it the community gold standard tool for building robust SV2 implementations in the future.
also, not following this practice means that bugfixing is a very suboptimal game of engineering whack-a-mole.
Beta Was this translation helpful? Give feedback.
All reactions