-
Notifications
You must be signed in to change notification settings - Fork 800
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added gulpfile, jasmine test specs, browser test runner, selenium tes…
…t runner
- Loading branch information
Showing
18 changed files
with
4,888 additions
and
405 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
.idea | ||
node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// TODO: build task | ||
// TODO: minify task | ||
// TODO: eslint task | ||
// TODO: cloud selenium server to test more browsers | ||
// TODO: add more test specs (see matchHeight.spec.js) | ||
// TODO: travis CI | ||
|
||
var gulp = require('gulp'); | ||
var webdriver = require('gulp-webdriver'); | ||
var webserver = require('gulp-webserver'); | ||
|
||
gulp.task('test', function() { | ||
return gulp.src('test/conf/wdio.conf.js').pipe(webdriver()); | ||
}); | ||
|
||
gulp.task('serve', function() { | ||
gulp.src('.') | ||
.pipe(webserver({ | ||
livereload: true, | ||
directoryListing: true, | ||
open: 'http://localhost:8000/test/page/test.html' | ||
})); | ||
}); |
Oops, something went wrong.