Open kgrgreer opened 10 years ago
Sketching out my plan:
grunt
task that will make running these tests once, or watching and running repeatedly, easy.First three look good to me.
On 7 May 2014 14:16, Braden Shepherdson notifications@github.com wrote:
Sketching out my plan:
- Set up a Node-based, console output test runner, ideally one that can enumerate every unit test in the framework.
- Add a grunt task that will make running these tests once, or watching and running repeatedly, easy.
- Probably add a precommit (prepush?) hook that ensures the tests stay green?
- Travis http://travis-ci.org CI?
— Reply to this email directly or view it on GitHubhttps://github.com/foam-framework/foam/issues/234#issuecomment-42463096 .
Alas it didn't go much farther than the early stages of the above plan.
We no longer use Grunt, rather our own Node-powered tools. Tests can be run at the command line or in your browser for any model. We don't currently comb the framework for tests.
tests
on models and run them all.enabled: false
support to the UnitTest
model to allow deletion without removing or commenting out a test
Tests should be verified as part of the check-in process an/or when files are updated.