serverless/tests/all.js
2016-03-01 13:47:20 -08:00

39 lines
1.8 KiB
JavaScript

'use strict';
process.env.DEBUG = '*';
require('./config'); // Init config
describe('All Tests', function() {
before(function(done) {
this.timeout(0); // Don't timeout anything
done();
});
after(function() {});
require('./tests/classes/Project');
require('./tests/classes/Component');
require('./tests/classes/Function');
require('./tests/classes/Endpoint');
require('./tests/classes/Stage');
require('./tests/classes/Region');
// require('./tests/actions/TestPluginCustom'); // working
// //require('./tests/actions/TestDefaultActionHook'); // BROKEN. Something has to do with getParentTemplate
// require('./tests/actions/StageCreate'); // working
// require('./tests/actions/RegionCreate'); // working
// require('./tests/actions/ComponentCreate'); // working
// require('./tests/actions/FunctionCreate'); // working
// require('./tests/actions/EnvList'); // working
// require('./tests/actions/EnvGet'); // working
// require('./tests/actions/EnvSetUnset'); // working
// require('./tests/actions/ResourcesDeploy'); // working
// require('./tests/actions/FunctionRun'); // working. HOWEVER, test handler.js doesn't use lodash template syntax, which is broken
// require('./tests/actions/FunctionLogs'); // working
// require('./tests/actions/FunctionDeploy'); // working
// require('./tests/actions/EndpointDeploy'); // working
// require('./tests/actions/EventDeploy'); // working
// require('./tests/actions/ProjectInit'); // working
// //require('./tests/actions/ProjectInstall'); // BROKEN. Something has to do with getParentTemplate
// require('./tests/actions/ProjectLifeCycle.js'); // test again with CF ON!
// require('./tests/actions/ResourcesDiff'); // working
// require('./tests/actions/PluginCreate'); // working
});