Does kotlintest have documentation on interceptors...
# test
r
Does kotlintest have documentation on interceptors? Can’t seem to find it. I basically want to run my tests in a database transaction and then roll back when finished.
l
Perhaps what you're looking for is Listeners
You can register a listener that will act as a
Before
+
After
on each test
But if you need to control the exact execution of a test, perhaps
Extensions
are more correct
r
That is perfect @LeoColman thank you!