script/test in xcflushd-1.0.0 vs script/test in xcflushd-1.1.0
- old
+ new
@@ -2,9 +2,15 @@
SCRIPT_DIR=$(dirname "$(readlink -f $0)")
pushd ${SCRIPT_DIR} > /dev/null
export TEST_COVERAGE=1
+
+# 'debug' is needed for test coverage, 'dev' makes the JVM boot fast at the
+# expense of long-running code performance among other things recommended for
+# development: https://github.com/jruby/jruby/wiki/Improving-startup-time
+export JRUBY_OPTS="--debug --dev"
+
bundle exec rake spec
STATUS=$?
popd > /dev/null
exit ${STATUS}