Skip to content

Commit

Permalink
Integrate with coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
wdavidw committed Nov 13, 2012
1 parent 47183d0 commit f2b7c9c
Show file tree
Hide file tree
Showing 4 changed files with 344 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -9,7 +9,7 @@ test: build

coverage: build
@jscoverage --no-highlight lib lib-cov
@CSV_COV=1 $(MAKE) test REPORTER=html-cov > doc/coverage.html
@DOJO_COV=1 $(MAKE) test REPORTER=html-cov > doc/coverage.html
@rm -rf lib-cov

.PHONY: test
341 changes: 341 additions & 0 deletions doc/coverage.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion test/git.coffee
@@ -1,8 +1,8 @@

dojo = require '..'
fs = require 'fs'
each = require 'each'
should = require 'should'
dojo = if process.env.DOJO_COV then require '../lib-cov/dojo' else require '../lib/dojo'

describe 'Git', ->
it 'should download dojo HEAD', (next) ->
Expand Down
2 changes: 1 addition & 1 deletion test/release.coffee
@@ -1,8 +1,8 @@

dojo = require '..'
fs = require 'fs'
should = require 'should'
each = require 'each'
dojo = if process.env.DOJO_COV then require '../lib-cov/dojo' else require '../lib/dojo'

describe 'Release', ->
it 'should download specific release', (next) ->
Expand Down

0 comments on commit f2b7c9c

Please sign in to comment.