Closed denberr95 closed 7 months ago
This is indeed a known issue as on default that interactive session hijacks test and never completes. One change we've been thinking is if we'd just leave noninteractive mode enabled and require user to enable others.
It could be a good idea. So based on the test scenario the user enables the type of shell session he needs. I just have a doubt, if the CLI provided commands in both modes (interactive/non-interactive) would there be any effect?
There should be no difference as that info is used at runtime.
Ok great, in what milestone would it be possible to try it?
Closing this as #1017 changed behaviour discussed above. It's in 3.3.x
snapshots and you can follow milestone scheduling.
HOW TO USE
WHAT I'M DOING
I'm trying to implement unit tests using:
Depending on how I configured the shell contexts I get different behaviors
It appears that you need to disable shell contexts to allow the @SpringBootShell annotation to complete.