Summary: | [NEW PORT] devel/py-pytest-factoryboy: Factory approach to testing with the dependency injection | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Goran Mekić <meka> | ||||
Component: | Individual Port(s) | Assignee: | Ben Woods <woodsb02> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | koobs, woodsb02 | ||||
Priority: | --- | Keywords: | patch, patch-ready | ||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Bug Depends on: | 242805 | ||||||
Bug Blocks: | 242817 | ||||||
Attachments: |
|
Note that this is not required if using GitHub (I will remove it): MASTER_SITES= CHEESESHOP This is not required, as it is the default (I will remove it): GH_TAGNAME= ${PORTVERSION} I will rename this dependency to match the new package name in the ports tree: - ${PYTHON_PKGNAMEPREFIX}factory_boy>=0:devel/py-factory-boy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}factory-boy>=0:devel/py-factory-boy@${PY_FLAVOR} \ The lines below are required to fix "make test" (I will add them): TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dateutil>=0:devel/py-dateutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}text-unidecode>=0:converters/py-text-unidecode@${PY_FLAVOR} A commit references this bug: Author: woodsb02 Date: Tue Dec 24 08:27:28 UTC 2019 New revision: 520787 URL: https://svnweb.freebsd.org/changeset/ports/520787 Log: Add new port devel/py-pytest-factoryboy Pytest-factoryboy makes it easy to combine factory approach to the test setup with the dependency injection, heart of the pytest fixtures. WWW: https://github.com/pytest-dev/pytest-factoryboy PR: 242806 Submitted by: Goran Meki? <meka@tilda.center> Changes: head/devel/Makefile head/devel/py-pytest-factoryboy/ head/devel/py-pytest-factoryboy/Makefile head/devel/py-pytest-factoryboy/distinfo head/devel/py-pytest-factoryboy/pkg-descr Committed - thanks! |
Created attachment 210145 [details] py-pytest-factoryboy.diff QA: * portlint: OK (looks fine.) * testport: OK (poudriere: 12.0, amd64 tested) * maketest: OK (20 passed, 2 skipped tests)