svn commit: r546954 - in head/devel: . py-pytest-mutagen
Dmitry Marakasov
amdmi3 at FreeBSD.org
Sat Aug 29 23:48:10 UTC 2020
Author: amdmi3
Date: Sat Aug 29 23:48:08 2020
New Revision: 546954
URL: https://svnweb.freebsd.org/changeset/ports/546954
Log:
- Add devel/py-pytest-mutagen
Mutagen is a plugin to pytest that makes it easy to do mutation
testing. Mutation testing is a method of testing your tests. Mutagen
helps you to define "mutant" versions of your code - code which is
intentionally buggy - then you run your test suite on these mutants
and verify that your tests actually catch the bugs. Mutation testing
helps you to gauge test coverage and verify that your tests are
good enough to exercise interesting behaviors in your code.
WWW: https://pypi.org/project/pytest-mutagen/
Added:
head/devel/py-pytest-mutagen/
head/devel/py-pytest-mutagen/Makefile (contents, props changed)
head/devel/py-pytest-mutagen/distinfo (contents, props changed)
head/devel/py-pytest-mutagen/pkg-descr (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Sat Aug 29 22:24:07 2020 (r546953)
+++ head/devel/Makefile Sat Aug 29 23:48:08 2020 (r546954)
@@ -4902,6 +4902,7 @@
SUBDIR += py-pytest-lazy-fixture
SUBDIR += py-pytest-localserver
SUBDIR += py-pytest-mock
+ SUBDIR += py-pytest-mutagen
SUBDIR += py-pytest-pep8
SUBDIR += py-pytest-pycodestyle
SUBDIR += py-pytest-randomly
Added: head/devel/py-pytest-mutagen/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-pytest-mutagen/Makefile Sat Aug 29 23:48:08 2020 (r546954)
@@ -0,0 +1,29 @@
+# Created by: Dmitry Marakasov <amdmi3 at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= pytest-mutagen
+PORTVERSION= 1.3
+CATEGORIES= devel python
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= amdmi3 at FreeBSD.org
+COMMENT= Add the mutation testing feature to pytest
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
+
+USE_GITHUB= yes # LICENSE and tests are missing from PyPI distribution
+GH_ACCOUNT= timpaquatte
+GH_TAGNAME= b4cc63c # 1.3 tag is also missing
+
+USES= python:3.6+
+USE_PYTHON= autoplist distutils
+NO_ARCH= yes
+TEST_ENV= PYTHONPATH="${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}"
+
+do-test:
+ @cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs
+
+.include <bsd.port.mk>
Added: head/devel/py-pytest-mutagen/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-pytest-mutagen/distinfo Sat Aug 29 23:48:08 2020 (r546954)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1598742657
+SHA256 (timpaquatte-pytest-mutagen-1.3-b4cc63c_GH0.tar.gz) = 8d30ac9a5e0e71915516b475a577e7651de165a3a4f71f640135d605dc687e88
+SIZE (timpaquatte-pytest-mutagen-1.3-b4cc63c_GH0.tar.gz) = 20052
Added: head/devel/py-pytest-mutagen/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-pytest-mutagen/pkg-descr Sat Aug 29 23:48:08 2020 (r546954)
@@ -0,0 +1,9 @@
+Mutagen is a plugin to pytest that makes it easy to do mutation
+testing. Mutation testing is a method of testing your tests. Mutagen
+helps you to define "mutant" versions of your code - code which is
+intentionally buggy - then you run your test suite on these mutants
+and verify that your tests actually catch the bugs. Mutation testing
+helps you to gauge test coverage and verify that your tests are
+good enough to exercise interesting behaviors in your code.
+
+WWW: https://pypi.org/project/pytest-mutagen/
More information about the svn-ports-all
mailing list