Skip to content
This repository has been archived by the owner on Feb 13, 2019. It is now read-only.

how to run test cases locally

Sayed Ibrahim Hashimi edited this page Apr 2, 2015 · 1 revision

As you are making changes to the generators you will want to run the test cases locally to ensure they pass before committing or submitting a new PR. The test cases are mocha test cases so you'll need mocha to execute those tests.

There are a few things that need to be installed to get the test cases to run. You can install those with the following commands.

  • npm install yeoman-generator
  • npm install mocha
  • npm install chalk

After that you should be able to execute npm test to run the test cases from the generator-aspnet directory.