diff --git a/Gruntfile.js b/Gruntfile.js index 5148ea2..e17c168 100755 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -19,8 +19,6 @@ var getLoaderPackageName = function() { }; module.exports = function(grunt) { - var appPort = grunt.option('app-port') || 8080; - // load all grunt tasks matching the `grunt-*` pattern require(getLoaderPackageName())(grunt); @@ -196,13 +194,6 @@ module.exports = function(grunt) { noApp: { src: ['test/unit/lib/**/*.js'] } - }, - - casperjs: { - options: { - casperjsOptions: ['--app-port='+appPort] - }, - files: ['test/functional/**/*.js'] } }); @@ -307,8 +298,7 @@ module.exports = function(grunt) { ]); grunt.registerTask('ci-post-run', [ - 'test', - 'test-func' + 'test' ]); grunt.registerTask('ci-post-run-win', [ @@ -332,15 +322,4 @@ module.exports = function(grunt) { grunt.task.run('mochaTest'); } }); - - // Test task. Execute with running app - grunt.registerTask('test-func', 'Run ALL functional tests or specified by second param', function () { - // if custom mask set - `grunt test --spec=test/unit/middleware/**/*.js` - var spec = grunt.option('spec'); - if (spec) { - grunt.config.set('casperjs.files', [spec]); - } - - grunt.task.run('casperjs'); - }); }; diff --git a/docs/build-tasks/readme.md b/docs/build-tasks/readme.md index 6b49eb5..4b64dae 100644 --- a/docs/build-tasks/readme.md +++ b/docs/build-tasks/readme.md @@ -19,7 +19,6 @@ $ npm run lint $ npm test $ npm run test:unit -$ npm run test:func ``` * `npm run build` - default build command for preparing SourceJS assets, used as a post-install hook and after plugin installation diff --git a/docs/clarify/readme.md b/docs/clarify/readme.md index 544c68e..92ae585 100644 --- a/docs/clarify/readme.md +++ b/docs/clarify/readme.md @@ -1,3 +1,5 @@ +**NOTE: Clarify is not available in `no-jsdom` build** + SourceJS middleware, that allows to open separate documentation examples in custom or clean environment for component testing and development. ## General information diff --git a/package.json b/package.json index e92b93b..65d0c27 100644 --- a/package.json +++ b/package.json @@ -68,7 +68,6 @@ "watch:css": "grunt watch-css", "test": "grunt ci-pre-run && node app.js --test", "test:unit": "grunt test", - "test:func": "grunt test-func", "ci-test": "grunt ci-pre-run && node app.js --test --log trace", "ci-test-win": "grunt ci-pre-run && node app.js --post-grunt ci-post-run-win --test --log trace --no-watch" },