Skip to content
Myr

test

This file

Path

scripts/test

12 lines · 263 bytes

Last changed by

100% test coverage (#71)Tom Christiebefore adoptionfc16d31

History of this file

Take it

StuffTom Christiebefore adoption30530d4

lines 1–10why, one step back
1#!/bin/sh -e
23export PACKAGE="httpcore"4export PREFIX=""5if [ -d 'venv' ] ; then6 export PREFIX="venv/bin/"7fi89set -x10

100% test coverage (#71)Tom Christiebefore adoptionfc16d31

line 11why, one step back
11PYTHONPATH=. ${PREFIX}pytest --ignore venv --cov tests --cov ${PACKAGE} --cov-report= --cov-fail-under=100 ${@}

Merge pull request #61 from yeraydiazdiaz/test-configTom Christiebefore adoptionabec2e8

line 12why, one step back
12${PREFIX}coverage report -m