Skip to content

Commit 9b720e2

Browse files
authored
🏷️ Prepare v4.1.0 release (#119)
1 parent 15ea504 commit 9b720e2

4 files changed

Lines changed: 21 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,23 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## [Unreleased](https://github.com/randycoulman/mix_test_interactive/compare/v4.0.0...HEAD)
8+
## [Unreleased](https://github.com/randycoulman/mix_test_interactive/compare/v4.1.0...HEAD)
9+
10+
## [v4.1.0](https://github.com/randycoulman/mix_test_interactive/compare/v4.0.0...v4.1.0) - 2024-09-21
11+
12+
### Added
13+
14+
- This version adds a number of new commands for controlling additional `mix test` options interactively:
15+
16+
- `d <seed>`/`d`: Set or clear the seed to use when running tests (`mix test --seed <seed>`). ([#112](https://github.com/randycoulman/mix_test_interactive/pull/112))
17+
- `i <tags...>`/`i`: Set or clear tags to include (`mix test --include <tag1> --include <tag2>...`). ([#113](https://github.com/randycoulman/mix_test_interactive/pull/113))
18+
- `o <tags...>`/`o`: Set or clear "only" tags (`mix test --only <tag1> --only <tag2>...`). ([#113](https://github.com/randycoulman/mix_test_interactive/pull/113))
19+
- `x <tags...>`/`x`: Set or clear tags to exclude (`mix test --exclude <tag1> --exclude <tag2>...`). ([#113](https://github.com/randycoulman/mix_test_interactive/pull/113))
20+
- `m <max>`/`m`: Set or clear the maximum number of failures to allow (`mix test --max-failures <max>`). ([#116](https://github.com/randycoulman/mix_test_interactive/pull/116))
21+
- `r <count>/`/`r`: Set or clear the maximum number of repeated runs until a test failure (`mix test --repeat-until-failure <count>`). **NOTE:** `mix test` only supports this option in v1.17.0 and later. ([#118](https://github.com/randycoulman/mix_test_interactive/pull/118))
22+
- `t`: Toggle test tracing on/off (`mix test --trace`). ([#117](https://github.com/randycoulman/mix_test_interactive/pull/112))
23+
24+
- There is now a `MixTestInteractive.TestRunner` behaviour for use in custom test runners. Up until now, custom test runners needed to implement a single `run/2` function. This release adds a behaviour that custom test runners can implement to ensure that they've correctly conformed to the interface. Custom test runners don't have to explicitly implement the behaviour, but must implicitly do so as before. ([#115](https://github.com/randycoulman/mix_test_interactive/pull/115))
925

1026
## [v4.0.0](https://github.com/randycoulman/mix_test_interactive/compare/v3.2.1...v4.0.0) - 2024-09-13
1127

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ dependencies in `mix.exs`:
3030
```elixir
3131
def deps do
3232
[
33-
{:mix_test_interactive, "~> 4.0", only: :dev, runtime: false}
33+
{:mix_test_interactive, "~> 4.1", only: :dev, runtime: false}
3434
]
3535
end
3636
```
@@ -126,7 +126,7 @@ test`).
126126
- `s`: Run only test files that reference modules that have changed since the
127127
last run (equivalent to the `--stale` option of `mix test`).
128128
- `t`: Turn test tracing on or off (equivalent to the `--trace` option of `mix
129-
test).
129+
test`).
130130
- `x <tags...>`: Exclude tests tagged with the listed tags (equivalent to the
131131
`--exclude` option of `mix test`).
132132
- `x`: Clear any excluded tags.

lib/mix/tasks/test/interactive.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ defmodule Mix.Tasks.Test.Interactive do
101101
- `s`: Run only test files that reference modules that have changed since the
102102
last run (equivalent to the `--stale` option of `mix test`).
103103
- `t`: Turn test tracing on or off (equivalent to the `--trace` option of `mix
104-
test).
104+
test`).
105105
- `x <tags...>`: Exclude tests tagged with the listed tags (equivalent to the
106106
`--exclude` option of `mix test`).
107107
- `x`: Clear any excluded tags.

mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
defmodule MixTestInteractive.MixProject do
22
use Mix.Project
33

4-
@version "4.0.0"
4+
@version "4.1.0"
55
@source_url "https://github.com/randycoulman/mix_test_interactive"
66

77
def project do

0 commit comments

Comments
 (0)