Skip to content

Commit

Permalink
add start identifier for current test when in watch mode
Browse files Browse the repository at this point in the history
  • Loading branch information
jhudson8 committed Aug 25, 2015
1 parent a324076 commit 65ecd81
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,11 @@ module.exports = function(gulp, options) {
// run mocha tests against a single file
function testFile(file) {
process.stdout.write('\033c');
process.stdout.write('=======================================================================================\n');
writeTemplate(file.path, 'test-single.js');
mocha('./.test/test-single.js', mochaArgs, watch);
}


// create the gulp stream handlers
var streamHandlers = [
gulp.src(glob)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gulp-mocha-tdd",
"version": "0.4.6",
"version": "1.0.0",
"author": "Joe Hudson <joehud@gmail.com>",
"description": "easy test driven development with gulp and mocha",
"keywords": [
Expand Down
3 changes: 3 additions & 0 deletions release-notes.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
1.0.0
- always clean out the generated test dir for each test run - a324076

0.4.6

- add concole clearing in watch mode
Expand Down

0 comments on commit 65ecd81

Please sign in to comment.