Skip to content

Commit

Permalink
replace phantom-harness runner with webdriver
Browse files Browse the repository at this point in the history
  • Loading branch information
subtleGradient committed Nov 6, 2013
1 parent b922d8d commit c9401be
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 249 deletions.
8 changes: 2 additions & 6 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ var exec = require('child_process').exec;
var jsxTask = require('./grunt/tasks/jsx');
var browserifyTask = require('./grunt/tasks/browserify');
var populistTask = require('./grunt/tasks/populist');
var phantomTask = require('./grunt/tasks/phantom');
var webdriverPhantomJSTask = require('./grunt/tasks/webdriver-phantomjs');
var webdriverJasmineTasks = require('./grunt/tasks/webdriver-jasmine');
var npmTask = require('./grunt/tasks/npm');
Expand All @@ -18,7 +17,6 @@ module.exports = function(grunt) {
jsx: require('./grunt/config/jsx/jsx'),
browserify: require('./grunt/config/browserify'),
populist: require('./grunt/config/populist'),
phantom: require('./grunt/config/phantom'),
connect: require('./grunt/config/server')(grunt),
"webdriver-jasmine": require('./grunt/config/webdriver-jasmine.js'),
npm: require('./grunt/config/npm'),
Expand All @@ -44,8 +42,6 @@ module.exports = function(grunt) {

grunt.registerMultiTask('populist', populistTask);

grunt.registerMultiTask('phantom', phantomTask);

grunt.registerMultiTask('webdriver-jasmine', webdriverJasmineTasks);

grunt.registerMultiTask('npm', npmTask);
Expand Down Expand Up @@ -79,12 +75,12 @@ module.exports = function(grunt) {

grunt.registerTask('webdriver-phantomjs', webdriverPhantomJSTask);

grunt.registerTask('test:webdriver', [
grunt.registerTask('test:webdriver:phantomjs', [
'connect',
'webdriver-phantomjs',
'webdriver-jasmine:local'
]);
grunt.registerTask('test', ['build:test', 'build:basic', 'phantom:run']);
grunt.registerTask('test', ['build:test', 'build:basic', 'test:webdriver:phantomjs']);
grunt.registerTask('npm:test', ['build', 'npm:pack']);

// Optimized build task that does all of our builds. The subtasks will be run
Expand Down
11 changes: 0 additions & 11 deletions grunt/config/phantom.js

This file was deleted.

68 changes: 0 additions & 68 deletions grunt/tasks/phantom.js

This file was deleted.

23 changes: 0 additions & 23 deletions test/index.html

This file was deleted.

141 changes: 0 additions & 141 deletions test/phantom-harness.js

This file was deleted.

0 comments on commit c9401be

Please sign in to comment.