closebuy/closebuy — pull request #43 by lawrencekang (2014-09-06 06:55:33+00:00)
Title: add testing suite

This uses the yeoman generator-test package.

To set up your tests, add your source file paths into "SpecRunner.html," and create a file in the test/specs folder. Use the sellControllerSpecs.js file as a template; you'll need to create a mock controller and inject the dependencies in the specs you create.

I'm still working on getting testing for Parse functions to work, so I don't have a good example for that.