view test.sh @ 86:fd075f0104b2 draft

Measure coverage for everything in test.sh
author Lewin Bormann <lbo@spheniscida.de>
date Sun, 26 May 2019 00:19:21 +0200
parents 27fb2e50dad2
children
line wrap: on
line source

#!/bin/bash

set -e

export PYTHONPATH=.

if [ -e .coverage ]; then
    rm .coverage
fi

for F in pcombinators/tests/test_*; do
    coverage run --append "${F}"
done

coverage html