mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-01 12:33:37 +08:00
- jstd upgrade to head from 2010-11-11 - coverage plugin from the same head as jstd - test-coverage.sh and server-coverage.sh scripts - jstd configuration Generate html by installing lconv (brew or port) and run: genhtml tmp/lcov/jsTestDriver.conf-coverage.dat to generate html docs.
8 lines
190 B
Bash
Executable File
8 lines
190 B
Bash
Executable File
#!/bin/sh
|
|
tests=$1
|
|
if [[ $tests = "" ]]; then
|
|
tests="all"
|
|
fi
|
|
|
|
java -Xmx1g -jar lib/jstestdriver/JsTestDriver.jar --config jsTestDriver-coverage.conf --testOutput=tmp/lcov --tests "$tests"
|