initial creation
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import subprocess
|
||||
|
||||
import click
|
||||
|
||||
|
||||
@click.command()
|
||||
@click.argument('path', default='snakeeyes')
|
||||
def cli(path):
|
||||
"""
|
||||
Run a test coverage report.
|
||||
|
||||
:param path: Test coverage path
|
||||
:return: Subprocess call result
|
||||
"""
|
||||
cmd = 'py.test --cov-report term-missing --cov {0}'.format(path)
|
||||
return subprocess.call(cmd, shell=True)
|
||||
Reference in New Issue
Block a user