Make pytest easier to use with Microsoft Azure Pipelines. Just run pytest with this plugin and see your test results in the Azure Pipelines UI! Features: - Formats the PyTest output to show test docstrings and module names instead of just test case names in the Azure Pipelines UI. - Uploads test results automatically, no need for a separate test results upload command - Displays the number of failed tests if there were failures as an error message in the UI - Automatically formats code coverage and uploads coverage data if pytest-cov is installed - Supports running inside a Docker container and automatically uploads test results WWW: https://github.com/tonybaloney/pytest-azurepipelines
23 lines
516 B
Makefile
23 lines
516 B
Makefile
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pytest-azurepipelines
|
|
PORTVERSION= 0.8.0
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Formatting PyTest output for Azure Pipelines UI
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=3.5.0:devel/py-pytest@${PY_FLAVOR}
|
|
|
|
USES= python
|
|
USE_PYTHON= autoplist concurrent distutils
|
|
|
|
NO_ARCH= yes
|
|
|
|
.include <bsd.port.mk>
|