DEV Community

Discussion on: How would you write tests for a Node CLI?

orkon profile image
Alex Rudenko

I think this project can come handy! I have never used it myself though. For me, it was always enough to write tests with mocha & chai (i.e. test that arguments are parsed correctly and your internal logic). What exactly do you want to achieve by testing via CLI?