Hey guys, it's been probably asked before and I'm sure I've done this before, but I can't really find it anymore :/ how do I write tests where I need to have a @Autowired dependency?
Thanks
Not gonna happen, the current way we do things already works - having a class to wrap for your test is an unnecessary ceremony (later on once kotlin scripting matures, we could ditch it and just write tests directly in a
.kts
file). A fix to this is to have a spring extension implemented.
l
lucasqueiroz
02/17/2020, 12:15 AM
The current extension doesn't work anymore with Spek2, since a lot has changed