Skip to content

Commit

Permalink
added gulpfile, jasmine test specs, browser test runner, selenium tes…
Browse files Browse the repository at this point in the history
…t runner
  • Loading branch information
liabru committed Oct 17, 2015
1 parent 91e50ad commit ca926de
Show file tree
Hide file tree
Showing 18 changed files with 4,888 additions and 405 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1 +1,2 @@
.idea
node_modules
2 changes: 1 addition & 1 deletion LICENSE
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2014 Liam Brummitt
Copyright (c) 2015 Liam Brummitt

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
23 changes: 23 additions & 0 deletions gulpfile.js
@@ -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'
}));
});

0 comments on commit ca926de

Please sign in to comment.