Closed techkey closed 2 years ago
Hi,
I can't say why the group tests doesn't work. I haven't touched this code in a long, long time, perhaps a dependency has changed somewhere.
Regards, Gary
Hi Gary,
Thanks a lot for your time and reply!
I've already solved it quickly by just writing a .bat file that runs the test files. That works for now.
Just to let you know, I've re-factored the whole code so that it passes jslint, reformatted all also, got rid of underscore and fixed some things along the way. All tests are OK and now I add some more tests, update the code according the latest OpenSCAD specification and add JSDOC3 docs on every function and object.
After the update I go testing with the V8 functions to see if all code can be pre-compiled etc.
I must say that your code has a good design, thank you very much for that!
Cornelis.
This will not be fixed. Please reopen issues at OpenJSCAD.org
Hi, whenever I try to run a test with node a error is thrown:
Error: Cannot find module 'test'
A complete output is like this:
Is there something missing from the
tests
directory or am I missing something else?UPDATE: I found out that
test
is a node module. I've installed it and the error is gone, but when runningnode all-tests.js
it always reports:because the exports object in the file
all-tests.js
contains empty objects. Any ideas?Individual tests are running fine it seems, it reports failed and passed tests.
Cornelis.