For this app, I completely abstracted away the terminal. I'm able to replace the output of a process with a stub.
This lets me replace the distrobox command with a stub to properly test the GUI. Look how cool is that!
How would I test these cases otherwise?
- distrobox not installed
- distrobox installed but no container was created (I cannot delete all my containers everytime)
- distrobox installed, with 12 containers created