re: How would you write tests for a Node CLI? VIEW POST


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?

code of conduct - report abuse