<@U54CM9PGS> Are the gutter icons supposed to work...
# testballoon
d
@Oliver.O Are the gutter icons supposed to work when running from commonTest? It seems like I'm getting "Test events were not received". I'm using the "0.8.2-K2.3.0" version with kotlin 2.3.0.
when I run allTests on that module, the tests DO run.
o
Of course they are supposed to work. A gutter icon creates a Gradle run configuration which you can then inspect and run separately. It's all fully transparent.
d
Ok, so maybe the project wasn't synced with gradle or something... I'll continue observing if this is really an issue. Btw, nice going with the new Robolectric support 🎉, I'm anxious to try it out! Although I'm wondering a bit if the boilerplate can somehow be avoiding using the compiler plugin and make these tests look a bit more like regular test balloon tests... but I know that it's not an option to add this kind of thing just for Robolectric. I'm just wondering if some kind of more generic support in the framework could make this integration a bit more standard.
o
Given that Roboelectric relies on class loading, that would mean rewriting a test suite lambda, putting it into a synthetic class behind the scenes, passing captured variables to its constructor, so basically changing the language at a large scale and being a nightmare to maintain. This would save 2 to 4 lines of code (depending on formatting). But you would lose explicitness. It would also make you wonder what really happened if you see stack traces with the synthetic class you never created.
d
Yeah, I guess. It's not that bad... and it's really a BIG accomplishment for test balloon to support this in the first place! Thanks again for having put in the effort!
👍 1
o
Let me know how it works for you!
👍🏼 1