Skip to content

Commit

Permalink
create simple test/example
Browse files Browse the repository at this point in the history
  • Loading branch information
geddski committed Feb 19, 2013
1 parent b5cb841 commit abaea28
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 0 deletions.
30 changes: 30 additions & 0 deletions Gruntfile.js
@@ -0,0 +1,30 @@
/*
* gruntacular
* https://github.com/OpenWebStack/gruntacular
*
* Copyright (c) 2013 Dave Geddes
* Licensed under the MIT license.
*/

'use strict';

module.exports = function(grunt) {
grunt.initConfig({
testacular: {
continuous: {
configFile: 'testacular.conf.js',
singleRun: true,
browsers: ['Chrome']
},
dev: {
configFile: 'testacular.conf.js',
browsers: ['Chrome']
}
}
});

//Load gruntacular plugin
grunt.loadTasks('tasks');

grunt.registerTask('test', ['testacular:continuous']);
};
5 changes: 5 additions & 0 deletions TODO.md
@@ -0,0 +1,5 @@
[] tests
[] support the options object to close #3
[] update docs
[] make config file optional
[] version bump
5 changes: 5 additions & 0 deletions test/gruntacular-test.js
@@ -0,0 +1,5 @@
describe('testacular', function(){
it('should be awesome', function(){
expect('foo').to.be.a('string');
});
});
7 changes: 7 additions & 0 deletions testacular.conf.js
@@ -0,0 +1,7 @@
//TODO make the configFile optional
files = [
MOCHA,
MOCHA_ADAPTER,
'node_modules/expect.js/expect.js',
'test/**/*.js'
];

0 comments on commit abaea28

Please sign in to comment.