You can clone with
$ yo --version
$ yo generator test
$ yo mocha:app
yo generator creates a new generator, mocha:app generates a mocha test suite.
@passy yes, aware of that. But I have a generator by name test and mocha:app will create test suites in them. Should not it say that there is a dir by name test already?
@hemanth Conflict resolution is only supposed to warn if you override files. The mocha generator is supposed to create a test setup in the test/ subdirectory of your CWD, which is does. If you already have a test suite, you shouldn't need the generator.