Open
Description
I'm testing a tool that requires for example creating a git repository and cd'ing into it, something like:
mkdir foo
cd foo
git init .
my-cmd
...
It seems like it's possible to "register" some of these commands using register_bin
, but some commands like cd
are actual shell built-ins. What is the correct way to write this test in such a way that it can be read as realistic example as well?