appnexus/logistic-regression-L1

View on GitHub
run-tests

Summary

Maintainability
Test Coverage
#!/usr/bin/env bash

FWDIR="$(cd "`dirname $0`"; pwd)"
cd "$FWDIR"

set -x

if [ -z "$SPARK_HOME" ]; then
   echo "$(tput setaf 1)Error: SPARK_HOME is not set, may not be able to run tests.$(tput sgr0)"
fi

nosetests tests \
    --logging-level=INFO \
    --detailed-errors \
    --verbosity=5 \
    --with-coverage \
    --cover-branches \
    --cover-xml \
    --cover-html \
    --cover-html-dir=./htmlcov \
    --cover-package=logistic_regression_L1 \
    --traverse-namespace