Add eventually utility - #1162
Conversation
|
Looks like a sensible addition to me, but maybe we should ask for more opinions? I can raise it on Scala contributors and discord to get more eyes on it. What do you think? |
One way hand yes, but I find tinkering with stack trace might cause more issues and is a bit magical. |
Sure, let's try to find some common ground. Can you point me to the Scala Contributors thread/Discord where the discussion happens? I am happy to keep an eye on those and in this PR's thread. |
|
I've posted on the general Scala Discord and on Scalameta one. I think ideally people would comment here. I just wanted some additional opinions, since I mostly maintain munit in a minimal capacity 😓 (didn't work on the library to extensively) |
Hi! As discussed in #1161, here's a proposal for
eventually. Some things to think about:munitValueTransform(body)and returned aFuture. However, that wouldn't work for sync assertions before the end of a test example, and wouldn't return composable effect types for the interested downstream effect adapter libraries.I am open to all kinds of suggestions.