does anyone use minutest together with the testlog...
# minutest
c
does anyone use minutest together with the testlogger plugin? (https://github.com/radarsh/gradle-test-logger-plugin) is there a way to make it support nested contexts? for me it just outputs the test name but not the context name.
looks like this:
Copy code
r2dbcfun.R2dbcRepoTest fails fast if PK has more than one constructor PASSED
r2dbcfun.R2dbcRepoTest can insert data class and return primary key PASSED
r2dbcfun.R2dbcRepoTest supports nullable values PASSED
r2dbcfun.R2dbcRepoTest can load data object by id PASSED
r2dbcfun.R2dbcRepoTest can update objects PASSED
and this is how it should look:
d
Not a thing I’ve seen I’m afraid. Gradle and logging are the bane of my life
c
its a really nice plugin that seems to make test logging in gradle much nicer.
r
There are a couple of open issues and looks like some in-progress work for handling nested contexts. It’s not there yet, but hopefully it will arrive.
I started using that plugin recently when trying to debug an issue where test run order on CI exposed a leak that wasn’t apparent locally. It’s a lot easier to use that plugin than to try to figure out the incantations required to get Gradle to log what tests it’s running.
c
yes i saw the plugin when looking at strikt changes.