Hi Harry, As Stephen indicated, the Test Driven Widget Development work is an experiment at this point, and is currently not being maintained. We will likely look at it again once we start bringing the widget development documentation in the SDK up-to-date.
> I found that OAE 3akai repo has Gruntfile.js and want to know whether this is > an updated version of this tutorial or other tutorial related to running the > tests for 3akai and Hilary. Both the 3akai-ux and the Hilary repositories have a large number of unit and integration tests that are actively being used, developed and maintained. These are also the tests that are run by TravisCI after every commit/PR. Hilary Hilary uses Mocha tests that can be run with the following command: ``` grunt test ``` In order to only run the tests for an individual Hilary module, you can run the following command: ``` grunt test-module:oae-authentication (where oae-authentication is the module name) ``` 3akai-ux The UI has 2 different types of tests. First of all, there are a number of QUnit tests that will test things like internationalization, accessibility, code style, linting, etc. Next to that, there is also a large set of automated functional tests using CasperJS and PhantomJS. Most of this work is currently in a Pull Request [1], but we expect this to be merged soon. Both sets of tests can be run with the following command: ``` grunt test --qunit-host cam.oae.com (where cam.oae.com points to a running tenant) ``` [1] https://github.com/oaeproject/3akai-ux/pull/3054 Hope that helps, Nicolaas On 27 Nov 2013, at 15:31, Harry Wang <harryjw...@gmail.com> wrote: > Hi All, > > I tried to learn TDD of OAE widget by following the tutorial developed by > Stephen at > https://github.com/sathomas/3akai-ux/wiki/Test-Driven-Development-of-an-OAE-Widget > but ran into error when doing: grunt mock:footer > > The error log is attached below. > > I found that OAE 3akai repo has Gruntfile.js and want to know whether this is > an updated version of this tutorial or other tutorial related to running the > tests for 3akai and Hilary. > > Thanks, > > Harry > > > Running "mock:footer" (mock) task > > Running "connect:mock" (connect) task > Started connect web server on 127.0.0.1:9000. > > Running "open:mock" (open) task > > Running "watch:mock" (watch) task > Waiting... > > ... > > Running "watch:mock" (watch) task > Waiting...Warning: EMFILE, too many open files > Fatal error: Maximum call stack size exceeded > > > _______________________________________________ > oae-dev mailing list > oae-dev@collab.sakaiproject.org > http://collab.sakaiproject.org/mailman/listinfo/oae-dev
_______________________________________________ oae-dev mailing list oae-dev@collab.sakaiproject.org http://collab.sakaiproject.org/mailman/listinfo/oae-dev