There are a lot of very predictable and easy to test outcomes for each of the command flags and combinations, it would be great if anyone knows of or has a suitable tool set that caters to command line testing specifically.
For example, after each change in the source I need to make sure that piece still works in combination with all the other options and across all the ways the command can be run.
Example
ran through npm env
as a symbolic link
inside the project folder,
directly with the fullpath,
globally from system path
remotely with npx.
I tried running through a list manually but I think a testing library is more appropriate, because its very easy to miss something when you are trying to publish an update quickly.
There are a lot of very predictable and easy to test outcomes for each of the command flags and combinations, it would be great if anyone knows of or has a suitable tool set that caters to command line testing specifically.
For example, after each change in the source I need to make sure that piece still works in combination with all the other options and across all the ways the command can be run.
Example
I tried running through a list manually but I think a testing library is more appropriate, because its very easy to miss something when you are trying to publish an update quickly.