With version 3 it was possible to test commands that ask for user input.
The latest version seems to have lost this ability.
I have created a small demo project to show this.
It has 2 branches, main contains version 4.
Branch version-3 obviously version 3.
demo reproducer