Running single tests...
-
Dumb question... How do I just run one test.js? Something's eluding me

-
@SimonClark no problem. and welcome to the world of jscad development.

so, each of the packages are managed via 'lerna'. lerna is kind of cool because it automatically detects the dependencies and links everything together during the 'bootstrap' phase.
once everything is linked together, then you can make changes to any of the code, and rerun tests, or run CLI / WEB.
also, each of the packages can be tested individually. for example, you can change directories to packages/modeling, and run the tests using 'npm test'.
if there's too much noise then you can move the *.test.js files into a temporary directory, and test something special by creating another *.test.js file.
AVA is the test harness of choice. It's cool.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login