Permalink
Browse files

Integrate with coverage

  • Loading branch information...
1 parent ded43e0 commit 2f5fce8ef097c8a6f6836625b7fc20c3a92c8dd7 @wdavidw committed Nov 13, 2012
Showing with 347 additions and 4 deletions.
  1. +2 −0 Makefile
  2. +341 −0 doc/coverage.html
  3. +1 −1 test/EscapeTest.coffee
  4. +1 −1 test/MultiExecuteTest.coffee
  5. +1 −1 test/MultiQueryTest.coffee
  6. +1 −1 test/QueryTest.coffee
View
@@ -9,6 +9,8 @@ test: build
coverage: build
@jscoverage --no-highlight lib lib-cov
+ @rm -rf lib-conv/*-*
+ @cp -rp lib/*-* lib-cov
@HIVE_COV=1 $(MAKE) test REPORTER=html-cov > doc/coverage.html
@rm -rf lib-cov
View

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -1,7 +1,7 @@
should = require 'should'
config = require './config'
-hive = if process.env.EACH_COV then require '../lib-cov/hive' else require '../lib/hive'
+hive = if process.env.HIVE_COV then require '../lib-cov/hive' else require '../lib/hive'
client = null
before ->
@@ -1,7 +1,7 @@
should = require 'should'
config = require './config'
-hive = if process.env.EACH_COV then require '../lib-cov/hive' else require '../lib/hive'
+hive = if process.env.HIVE_COV then require '../lib-cov/hive' else require '../lib/hive'
client = null
before ->
@@ -1,7 +1,7 @@
should = require 'should'
config = require './config'
-hive = if process.env.EACH_COV then require '../lib-cov/hive' else require '../lib/hive'
+hive = if process.env.HIVE_COV then require '../lib-cov/hive' else require '../lib/hive'
client = null
before ->
View
@@ -1,7 +1,7 @@
should = require 'should'
config = require './config'
-hive = if process.env.EACH_COV then require '../lib-cov/hive' else require '../lib/hive'
+hive = if process.env.HIVE_COV then require '../lib-cov/hive' else require '../lib/hive'
client = null
before ->

0 comments on commit 2f5fce8

Please sign in to comment.