Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 24 lines (17 sloc) 0.444 kB
3bbf02b @rauchg Initial import
rauchg authored
1
2 TESTS = test/*.js
3 BENCHMARKS = $(shell find bench -type f ! -name 'runner.js')
4 REPORTER = dot
5
6 test:
7 @./node_modules/.bin/mocha \
8 --reporter $(REPORTER) \
b2c249e @rauchg Slown down some tests since they were pretty extreme.
rauchg authored
9 --slow 500ms \
c0bb8c7 @rauchg Started leveraging mocha `bail`.
rauchg authored
10 --bail \
17e3e52 @jphire added tests for JSONP transport and a --globals flag in Makefile
jphire authored
11 --globals ___eio,document \
3bbf02b @rauchg Initial import
rauchg authored
12 $(TESTS)
13
67cb168 @rauchg Added `test-cov`, `lib-cov` Makefile tasks.
rauchg authored
14 test-cov: lib-cov
2aaee23 @rauchg Fixed coverage generation.
rauchg authored
15 EIO_COV=1 $(MAKE) test REPORTER=html-cov > coverage.html
67cb168 @rauchg Added `test-cov`, `lib-cov` Makefile tasks.
rauchg authored
16
17 lib-cov:
2aaee23 @rauchg Fixed coverage generation.
rauchg authored
18 jscoverage --no-highlight lib lib-cov
67cb168 @rauchg Added `test-cov`, `lib-cov` Makefile tasks.
rauchg authored
19
3bbf02b @rauchg Initial import
rauchg authored
20 bench:
21 @node $(PROFILEFLAGS) bench/runner.js $(BENCHMARKS)
22
67cb168 @rauchg Added `test-cov`, `lib-cov` Makefile tasks.
rauchg authored
23 .PHONY: test test-cov bench
Something went wrong with that request. Please try again.