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