You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The CLI's testing support is still designed around the classes and annotations from 1.3. For example you can't use @SpringBootTest without importing it. If you do import and use it, the test-specific compiler auto-configuration doesn't kick in as it looks for a @SpringApplicationConfiguration annotation.
Straightening it out in 1.4 is a little bit tricky where classes have been repackaged. For example TestRestTemplate was automatically imported in 1.3. On the one hand, if we make a hard switch to the new package in 1.4, I have a feeling it might break code that work in 1.4. On the other hand, if we don't make that switch, people will be using deprecated code and injection of TestRestTemplate that's possible when using @SpringBootTest with a full-blown web environment won't work.