This project uses SemVer for versioning. Its matching order and runtime support won't change incompatibly outside of major versions (once version 1.0.0 has been released). There may be breaking changes in minor and patch releases before 1.0.0 and will be noted in these release notes.
Note that it's not meant to be run as a Python library, so there are no guarantees about the names or structure of its internals.
- add support for PEP-735 dependency groups
released 2024-09-12
- ❗️ BREAKING: prioritize
pytest
before Django's./manage.py test
.pytest
can run Django tests via django-pytest, but not the other way around - ❗️ BREAKING: stop looking for the
tests.py
file, which isn't a standard test location. Instead, if there are any python-related files (such aspyproject.toml
or.venv
), runpython -m unittest
- add better
pytest
detection in projects without a.pytest-cache
(#7) - add support for justfiles with non-default names:
Justfile
.justfile
- flush the stream after sending the screen-clearing escape sequence, which should fix issues where buffered output from test runners is cleared when it shouldn't be
- ❗ BREAKING: tweak how
UTR_CLEAR_PRE_RUN
andUTR_DISABLE_ECHO
are read from the environment. Previously, any set value would engage the option. Now, any value other than0
is considered "present". So, if you were setting them to0
before in the hopes of activating those options, set them to1
instead
released 2024-08-14
- add support for the
UTR_CLEAR_PRE_RUN
environment variable, which clears the terminal (and scrollback) before running the test
released 2023-12-06
- add support for bun, which runs
bun test
when it sees abun.lockb
- add support for my Advent of Code runner
released 2023-08-11
- include
--
after theexercism test
command, so args are correctly passed through to the underlying test command (e.g.t --include pending
runsexercism test -- --include-pending
) (#6)
released 2023-08-03
- add support for Exercism's new
exercism test
CLI command. Read more in the docs (#5).
released 2023-07-01
- ❗ BREAKING: prioritize
Makefile
(andjustfile
) over running any tools directly. (#3)- This is likely a non-issue unless you have a
Makefile
and an already-supported language and preferred circumventingmake
- in that case, use a recipe name besides
test
- This is likely a non-issue unless you have a
- add django support (#1) and ensure it takes precedence over more generic python testing methods (223d709)
- add justfile support. Make sure your
test
recipe accepts arguments (#3, #4) - print the command being run; disable by setting
UTR_DISABLE_ECHO
in the environment (#2) - specify
utf-8
encoding when opening files for wider windows compatibility (2475e94)
released 2023-06-19
- add a
universal-test-runner
command which has info about the package. The main test runner still lives int
. - add the
universal-test-runner debug
command to print an explanation of why a certain test runner is chosen - remove custom file caching logic
released 2023-06-18
- add support for the
test
directive inMakefile
s - add support for the
test
script in apackage.json
file
released 2023-06-06
- initial public release, with support for the following languages:
- python
- rust
- go
- elixir
- clojure