Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🏷️ Prepare 3.2.0 release #101

Merged
merged 1 commit into from
Aug 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,14 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased](https://github.com/randycoulman/mix_test_interactive/compare/v3.1.0...HEAD)
## [Unreleased](https://github.com/randycoulman/mix_test_interactive/compare/v3.2.0...HEAD)

## [v3.2.0](https://github.com/randycoulman/mix_test_interactive/compare/v3.1.0...v3.2.0) - 2024-08-24

### Changed

- Made pattern matching more flexible. Previously, when given multiple patterns, we would not do any file filtering if any of the patterns was a `file:line`-style pattern. Instead, we'd pass all of the patterns to `mix test` literally. Now, we run normal file filtering for any non-`file:line`-style patterns and concatenate the results with any `file:line`-style patterns. ([#99](https://github.com/randycoulman/mix_test_interactive/pull/99))
- Added documentation for missing configuration options in the mix task's module documentation. ([#100](https://github.com/randycoulman/mix_test_interactive/pull/100))

## [v3.1.0](https://github.com/randycoulman/mix_test_interactive/compare/v3.0.0...v3.1.0) - 2024-08-24

Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ The package can be installed by adding `mix_test_interactive` to your list of de
```elixir
def deps do
[
{:mix_test_interactive, "~> 3.1", only: :dev, runtime: false}
{:mix_test_interactive, "~> 3.2", only: :dev, runtime: false}
]
end
```
Expand All @@ -43,7 +43,8 @@ After the tests run, you can use the interactive mode to change which tests will

Use the `p` command to run only test files that match one or more provided patterns. A pattern is the project-root-relative path to a test file (with or without a line number specification) or a string that matches a portion of full pathname. e.g. `test/my_project/my_test.exs`, `test/my_project/my_test.exs:12:24` or `my`.

If any pattern contains a line number specification, all patterns are passed directly to `mix test`.
Any patterns that contain a line number specification are passed directly to
`mix test`. Remaining patterns are matched against test filenames as above.

```
p pattern1 pattern2
Expand Down
2 changes: 1 addition & 1 deletion lib/mix_test_interactive.ex
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ defmodule MixTestInteractive do
Start the interactive test runner.
"""
@spec run([String.t()]) :: no_return()
def(run(args \\ []) when is_list(args)) do
def run(args \\ []) when is_list(args) do
Mix.env(:test)
{:ok, _} = Application.ensure_all_started(:mix_test_interactive)

Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule MixTestInteractive.MixProject do
use Mix.Project

@version "3.1.0"
@version "3.2.0"
@source_url "https://github.com/randycoulman/mix_test_interactive"

def project do
Expand Down