Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tests to the tests/hooks.test.js + tests/git-manager.test.js file - mocha #12

Open
kazazor opened this issue Feb 26, 2016 · 0 comments
Labels

Comments

@kazazor
Copy link
Owner

kazazor commented Feb 26, 2016

Test cases - tests/hooks.test.js:

  1. all of the pre-commit hook files are being copied as planned
  2. all of the pre-commit hook files are added with the permission to execute (chmod 755)
  3. existing pre-commit hook is being deleted when installing the package

Test cases - tests/git-manager.test.js:

  1. Check that initializing the singleton instance sets the right git root directory

Using:

  1. gulp-mocha
  2. Write the tests using mocha
@kazazor kazazor added the tests label Feb 26, 2016
@kazazor kazazor changed the title Add tests to the hooks:tests gulp task Add tests to the tests/hooks.js file - mocha Feb 26, 2016
@kazazor kazazor changed the title Add tests to the tests/hooks.js file - mocha Add tests to the tests/hooks.test.js + tests/git-manager.test.js file - mocha Feb 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant