2015-04-22 11:12:45 -04:00
|
|
|
// @include "lib/*.js"
|
|
|
|
// @include "util/*.js"
|
|
|
|
|
2015-04-22 18:08:43 -04:00
|
|
|
$(function () {
|
2015-04-27 17:55:25 -04:00
|
|
|
'use strict';
|
2015-04-22 11:12:45 -04:00
|
|
|
|
2015-04-27 17:55:25 -04:00
|
|
|
util.mockConfigModule();
|
|
|
|
util.clearModulejs();
|
|
|
|
util.setupMocha();
|
2015-04-22 11:12:45 -04:00
|
|
|
|
2015-04-27 17:55:25 -04:00
|
|
|
describe('all tests', function () {
|
2015-04-22 11:12:45 -04:00
|
|
|
|
2015-04-27 17:55:25 -04:00
|
|
|
// @include "tests/premisses.js"
|
2015-04-26 12:10:31 -04:00
|
|
|
|
2015-04-27 17:55:25 -04:00
|
|
|
describe('unit tests', function () {
|
2015-04-26 12:10:31 -04:00
|
|
|
|
2015-04-27 17:55:25 -04:00
|
|
|
// @include "tests/unit/modulejs.js"
|
|
|
|
// @include "tests/unit/libs.js"
|
|
|
|
// @include "tests/unit/boot.js"
|
|
|
|
// @include "tests/unit/config.js"
|
2015-04-26 12:10:31 -04:00
|
|
|
|
2015-04-27 17:55:25 -04:00
|
|
|
// @include "tests/unit/*/*.js"
|
|
|
|
});
|
2015-04-22 11:12:45 -04:00
|
|
|
|
2015-04-27 17:55:25 -04:00
|
|
|
describe('integration tests', function () {
|
2015-04-26 12:10:31 -04:00
|
|
|
|
2015-04-29 08:23:15 -04:00
|
|
|
// @include "tests/integration/*.js"
|
2015-04-27 17:55:25 -04:00
|
|
|
// @include "tests/integration/*/*.js"
|
|
|
|
});
|
2015-04-24 09:17:54 -04:00
|
|
|
});
|
2015-04-22 11:12:45 -04:00
|
|
|
|
2015-04-27 17:55:25 -04:00
|
|
|
util.pinHtml();
|
|
|
|
util.runMocha();
|
|
|
|
});
|