Comment on Bats: TAP-compatible testing for BashparentComments−lukesandberg14yI doubt that all of git commit is implemented in main. So I'm sure that there is still plenty of use for unit tests.−mlafeldt14yAs a matter of fact, all automated tests of the Git project are powered by a shell-based TAP harness, which tests executable commands only.To be fair, there are some dedicated C tools driving unit tests via CLI, but most of the tests are based on the final plumbing and porcelain commands.
Comments
I doubt that all of git commit is implemented in main. So I'm sure that there is still plenty of use for unit tests.
As a matter of fact, all automated tests of the Git project are powered by a shell-based TAP harness, which tests executable commands only.
To be fair, there are some dedicated C tools driving unit tests via CLI, but most of the tests are based on the final plumbing and porcelain commands.