BSD Ports

devel/py-unittest2pytest 0.5_1 DragonFly

Convert unittest test-cases to pytest

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
GPLv3+
Categories
devel, python
Package size
30.4 KiB, 120.3 KiB installed

Description

unittest2pytest is a tool that helps rewriting Python unittest test-cases into pytest test-cases.

In contrast to other similar tools, this unittest2pytest

* handles keyword arguments, * handles single-line test-cases and several tests on one line, * uses context-handlers where appropriate.

This is done by using lib2to3 and Python's mighty inspect module.

In the other systems

The newest version among them is 0.5, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlydevel/py-unittest2pytest0.5_1 newestnone known-[email protected]-
FreeBSDdevel/py-unittest2pytest0.5_1 newestnone known-[email protected]-
NetBSDdevel/py-unittest2pytest0.5nb1 newestnone known-[email protected]-
HardenedBSDdevel/py-unittest2pytest0.5_1 newestno data-[email protected]-
GhostBSDdevel/py-unittest2pytest0.5_1 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

pkg install py311-unittest2pytest

From DPorts:

cd /usr/dports/devel/py-unittest2pytest && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 1

No port depends on this one.