Files
h5ai/test/scripts.js

35 lines
758 B
JavaScript
Raw Normal View History

2015-10-24 19:20:31 +02:00
// @include "vendor/*.js"
2015-04-22 17:12:45 +02:00
// @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-11-18 17:27:16 +01:00
// @-include "tests/integration/*/*.js"
2015-04-27 23:55:25 +02:00
});
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();
});