Skip to content

Commit

Permalink
Add universal-test-runner.
Browse files Browse the repository at this point in the history
  • Loading branch information
schmonz committed Jan 8, 2024
1 parent fb8e275 commit 6ab4551
Show file tree
Hide file tree
Showing 5 changed files with 61 additions and 0 deletions.
9 changes: 9 additions & 0 deletions universal-test-runner/DESCR
@@ -0,0 +1,9 @@
The Universal Test Runner is a zero-configuration, language-aware way to
run unit tests in any project. It installs a command, `t`, which will
determine how to run your test suite (and then run it).

If you're working on a JS project, it runs `[your package manager here]
test`. You've run `pytest` in this folder before? `pytest` it is. Rust
project? `cargo test` coming right up. Is also clever about running all
your `go` module tests (regardless of how they're organized). No matter
the command, all args are passed directly into the test runner.
19 changes: 19 additions & 0 deletions universal-test-runner/Makefile
@@ -0,0 +1,19 @@
# $NetBSD$

DISTNAME= universal-test-runner-0.5.1
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_GITHUB:=xavdid/}
GITHUB_TAG= v${PKGVERSION_NOREV}

MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/xavdid/universal-test-runner/
COMMENT= Language-agnostic, zero-configuration test invoker
LICENSE= mit

DEPENDS+= ${PYPKGPREFIX}-click>=8.1.3:../../devel/py-click
DEPENDS+= ${PYPKGPREFIX}-colorama>=0.4.6:../../comms/py-colorama

USE_LANGUAGES= # none

.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
23 changes: 23 additions & 0 deletions universal-test-runner/PLIST
@@ -0,0 +1,23 @@
@comment $NetBSD$
bin/t
bin/universal-test-runner
${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
${PYSITELIB}/universal_test_runner/__init__.py
${PYSITELIB}/universal_test_runner/__init__.pyc
${PYSITELIB}/universal_test_runner/__init__.pyo
${PYSITELIB}/universal_test_runner/cli.py
${PYSITELIB}/universal_test_runner/cli.pyc
${PYSITELIB}/universal_test_runner/cli.pyo
${PYSITELIB}/universal_test_runner/context.py
${PYSITELIB}/universal_test_runner/context.pyc
${PYSITELIB}/universal_test_runner/context.pyo
${PYSITELIB}/universal_test_runner/matchers.py
${PYSITELIB}/universal_test_runner/matchers.pyc
${PYSITELIB}/universal_test_runner/matchers.pyo
${PYSITELIB}/universal_test_runner/runner.py
${PYSITELIB}/universal_test_runner/runner.pyc
${PYSITELIB}/universal_test_runner/runner.pyo
5 changes: 5 additions & 0 deletions universal-test-runner/TODO
@@ -0,0 +1,5 @@
- is PyPi a better source for the distfile?
- are dependencies (build, tool, runtime) complete and accurate?
- which packages does `bin/t` conflict with?
- prefix package name with `py-`?
- either prevent self-conflict with multiple versions of python, or mark as such
5 changes: 5 additions & 0 deletions universal-test-runner/distinfo
@@ -0,0 +1,5 @@
$NetBSD$

BLAKE2s (universal-test-runner-0.5.1.tar.gz) = ad79706be4da79e3832829cf57ebe9dee536a3b4cdd7f833db00f6847ee79732
SHA512 (universal-test-runner-0.5.1.tar.gz) = b5ef7bd9a766fcef4030bf134d190b1a17268c10683c5f534d902fb5ba1050f65ee70f0772fe0dbf69fd7084ddf0d5d9b26018940bce96fd5a526df16cfaa48f
Size (universal-test-runner-0.5.1.tar.gz) = 15493 bytes

0 comments on commit 6ab4551

Please sign in to comment.