Closed niels-garve closed 11 years ago
Hi @alnico87,
I am not seeing this behavior. The mocha-amd generator should just scan all files in the specs directory to create the test-suite.js list.
When you ran the second generator after the files were renamed, was the new spec added to the testSuite.js list?
Hi @mrichard ,
your description of the way how the mocha-amd generator works helped me recognize that something went wrong during refactoring within PHPStorm. The spec files weren't renamed! Everything works fine now! Thank you very much and sorry for being dumb
Example: a collection named Test is generated by
yo marionette:collection Test
which makes the pathspec/collections/Test.js
appear withintestSuite.js
.Now the collection and its test file are refactored (say
Test2.js
) and the path is adjusted accordingly (spec/collections/Test2.js
).Then, if any other generation takes place and
testSuite.js
is overwritten, the old pathspec/collections/Test.js
will appear again.Can you help me? Thanks in advance
Niels