Skip to content

Latest commit

 

History

History
85 lines (54 loc) · 4.36 KB

CHANGELOG.md

File metadata and controls

85 lines (54 loc) · 4.36 KB

Changelog

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.

Unreleased

  • add support for PEP-735 dependency groups

0.6.2

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 as pyproject.toml or .venv), run python -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 and UTR_DISABLE_ECHO are read from the environment. Previously, any set value would engage the option. Now, any value other than 0 is considered "present". So, if you were setting them to 0 before in the hopes of activating those options, set them to 1 instead

0.6.1

released 2024-08-14

  • add support for the UTR_CLEAR_PRE_RUN environment variable, which clears the terminal (and scrollback) before running the test

0.6.0

released 2023-12-06

0.5.1

released 2023-08-11

  • include -- after the exercism test command, so args are correctly passed through to the underlying test command (e.g. t --include pending runs exercism test -- --include-pending) (#6)

0.5.0

released 2023-08-03

0.4.0

released 2023-07-01

  • ❗ BREAKING: prioritize Makefile (and justfile) over running any tools directly. (#3)
    • This is likely a non-issue unless you have a Makefile and an already-supported language and preferred circumventing make
    • in that case, use a recipe name besides test
  • 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)

0.3.0

released 2023-06-19

  • add a universal-test-runner command which has info about the package. The main test runner still lives in t.
  • add the universal-test-runner debug command to print an explanation of why a certain test runner is chosen
  • remove custom file caching logic

0.2.0

released 2023-06-18

  • add support for the test directive in Makefiles
  • add support for the test script in a package.json file

0.1.0

released 2023-06-06

  • initial public release, with support for the following languages:
    • python
    • rust
    • go
    • elixir
    • clojure