5

I need to put some tests around a nodejs command line utilities\modules. No browser involved and I'm using a lot of the "fs" module to work the file system, so i'm not sure a browser based test mechanism would work (sandboxing).

any modules that would help here?

2
  • It is not clear at all what your requirements are or what exactly you are trying to do. This question as it stands appears to be asking for a third party resource and is far too broad and unclear - all three of which are reasons for it to be considered off-topic for the forum and closed. Commented Jul 4, 2015 at 18:47
  • Usually, a command line program creates some output and you test that output to see if it is the desired output. Commented Jul 4, 2015 at 18:47

1 Answer 1

5

Check out Vorpal.js. This lets you create an interactive CLI in node, in which you can then run custom commands to test the various things you want to test.

Disclaimer: I am its author.

Sign up to request clarification or add additional context in comments.

2 Comments

Great. Looks like just what I needed. Thank you.
Glad it can help! Feel free to post any Vorpal questions on SO.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.