Conversation
pbeza
left a comment
There was a problem hiding this comment.
Left only a few optional nits. ✅
…be-in-running-state
kevindeforth
left a comment
There was a problem hiding this comment.
Nice. So, right now, the big question is what to do with the TestSetup and TestSetupBuilder structs.
I like the proposed ergonomics and the user interface. .with_participant_count(participants) feels very nice.
I don't like that it relies so heavily on implemented functions and that it duplicates existing logic. For that, I think it would be good to leverage existing logic in our test_utils files.
The risk right now is that we steer towards maintaining two testing libraries for the same thing.
|
I would suggest to take the interface you propose, as it's very nice, but implement it in the existing test_utils.rs files. This would achieve three things:
|
kevindeforth
left a comment
There was a problem hiding this comment.
Thanks for the changes.
netrome
left a comment
There was a problem hiding this comment.
Looks great, thanks for adding the test case! 🙏
closes #1589