Robolectric is untangled from junit4 (or going to ...
# testballoon
e
Robolectric is untangled from junit4 (or going to be soon). Does it change how TestBallon interacts with it and simplify some things?
o
As far as I’m aware, nothing changes for TestBalloon, as it is integrating with Robolectric’s core modules, and per this comment: > The core modules can’t depend on JUnit 5 or newer. Robolectric is used heavily at Google, and Google doesn’t use JUnit 5, so we can’t compile anything there that requires it. Also, TestBalloon does not suffer from the hoops they need to go through with JUnit 4/5/6, like making sure the sandbox loads classes in
@BeforeClass
. For TestBalloon users, using Robolectric is simple and remains simple. Anything you’re aware of that I could have missed?
e
Just going ahead of time - something in my head connected junit4 and test ballon robolectric integration
And relaxed now
o
So it’s the other way around: TestBalloon is safe because it can integrate with Robolectric core, and does not require anything JUnit 5+.
👍🏼 1
👍🏾 1
a
This is a testament to good architectural decisions. Nice work @Oliver.O
👏 2
🧠 2
o
Thank you! Fun fact: The proof of concept was 16 lines of code after this happened: https://bsky.app/profile/olivero2.bsky.social/post/3mebyswz32k2y
🧠 2