Turnt

Latest version: v1.12.0

Safety actively analyzes 681775 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

1.12.0

-------------------

- You can now configure `todo` tests to ignore failures.
- Fix the reported test count when running multiple environments.
- Fix a crash when a test command outputs binary data.

1.11.0

-------------------

- A new `out_dir` directory tells Turnt where to put its expected output files.

1.10.0

-------------------

- The diff output, when `--diff` is enabled, now goes to stderr instead of stdout. This makes it possible to redirect diffs separately from the test results.

1.9.0

------------------

- `-h` is now an alias for `--help`.
- `differing` and `missing` notes are now printed on the same line as the test itself, as TAP directives. This should both be easier to read when looking at the TAP output directly, and it should make life a bit simpler for TAP consumers.
- A new `binary` config option that disables looking with test files for (text) overrides. Even without this flag, binary files no longer crash Turnt altogether and instead merely log an error message.

1.8.0

------------------

- Add support for multiple *test environments* that run different commands on the same file. This is especially useful for differential testing, when multiple commands have the same expected output.
- Flush the output buffer after every line, which makes streaming TAP consumers more useful.

1.7.0

------------------

- Search for `turnt.toml` configuration files in ancestor directories, not just in the same directory as the test.
- The minimum Python version advanced to 3.6.
- Switch the TOML library to [tomli][] (or the standard library on Python 3.11+).

[tomli]: https://github.com/hukkin/tomli

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.