git-learning-game / oh-my-git

An interactive Git learning game!
https://ohmygit.org
Other
2.04k stars 146 forks source link

Test Git CLI Content in a Level #127

Open m2web opened 3 years ago

m2web commented 3 years ago

I would like to check the CLI content as part of a new level test. For example, I would like to assert that the user input git log by checking the content in the console. I have looked for examples within the repo and have found none. Is it possible to interrogate the CLI output from Git as part of a level [win] ?