chore(deps): update dependency mix_test_interactive to v5 #298
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
~> 1.0->~> 5.0Release Notes
randycoulman/mix_test_interactive (mix_test_interactive)
v5.0.0Compare Source
💥 BREAKING CHANGE 💥
same versions as Elixir itself,
so support for Elixir 1.13 is no longer provided. (#137)
There are no actual breaking changes in the code itself, so as long as you're on
Elixir 1.14 or later, you should have no problems upgrading to this version.
Updated
We address new deprecations and compiler warnings in Elixir 1.19. There are no
user-visible changes.
(#137 -
Thanks @frankdugan3 for contributing to the fixes!)
We upgrade to the newest version of
ex_docsto get the latest improvements.(#137)
v4.3.0Compare Source
Added
verboseconfiguration setting and command-line option, disabled by default. When enabled,mix test.interactivewill print the command it is about to run just before running the tests. (#135)v4.2.0Compare Source
Fixed
On Unix-like system we no longer start the client application prematurely. Previously, we'd run (essentially)
mix do run -e 'Application.put_env(:elixir, :ansi_enabled, true)', testin order to enable ANSI control codes/colors when running tests. However,mix runby default starts the application. Normally this would be fine, but in some cases it can cause problems. We now usemix do eval 'Application.put_env(:elixir, :ansi_enabled, true)', testinstead, which delays starting the application until themix testtask runs. (#132)Properly handle the
--no-startoption tomix teston Unix-like systems. Previously, we were using that option for themix run -ecommand we were using to enable ANSI output, but not passing it through tomix testitself. (#132)Added
--(no-)ansi-enabledcommand-line option andansi_enabledconfiguration setting. Previously, we'd enable ANSI output automatically on Unix-like systems and not on Windows. This is still the default, but now Windows users can opt into ANSI output. Since Windows 10, ANSI support has been available if the appropriate registry key is set. Additional, users on Unix-like systems can opt out of ANSI output if desired. (#133)v4.1.2Compare Source
Updated
Update README with instructions for running
mix test.interactiveas an independent script that doesn't require installing as a dependency in your application. (#127 - Thanks @andyl!)Allow process_tree versions v0.1.3 and v0.2.0 to provide more flexibility for upstream projects (#128)
v4.1.1Compare Source
Fixed
mix test.interactive <files_or_patterns...>case. The new command-line parsing added in v4.0 was not properly capturing the filenames/patterns and passing them on tomix test. (#123 - Thanks @jfpedroza for finding and reporting the bug!)v4.1.0Compare Source
Added
This version adds a number of new commands for controlling additional
mix testoptions interactively:d <seed>/d: Set or clear the seed to use when running tests (mix test --seed <seed>). (#112)i <tags...>/i: Set or clear tags to include (mix test --include <tag1> --include <tag2>...). (#113)o <tags...>/o: Set or clear "only" tags (mix test --only <tag1> --only <tag2>...). (#113)x <tags...>/x: Set or clear tags to exclude (mix test --exclude <tag1> --exclude <tag2>...). (#113)m <max>/m: Set or clear the maximum number of failures to allow (mix test --max-failures <max>). (#116)r <count>//r: Set or clear the maximum number of repeated runs until a test failure (mix test --repeat-until-failure <count>). NOTE:mix testonly supports this option in v1.17.0 and later. (#118)t: Toggle test tracing on/off (mix test --trace). (#117)There is now a
MixTestInteractive.TestRunnerbehaviour for use in custom test runners. Up until now, custom test runners needed to implement a singlerun/2function. 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)v4.0.0Compare Source
💥 BREAKING CHANGE 💥
This version introduces the option of "config-less" operation. All configuration settings can now be supplied on the command-line instead. To avoid confusion and clashes with
mix test's command-line options, it is now necessary to separatemix test.interactive's options frommix test's options with--separator.For example, to use the new
--clearoption as well asmix test's--staleoption, it is necessary to use:This affects two of the command-line options that were available in previous versions:
mix test.interactive's--no-watchflag. Previously, you could run (for example)mix test.interactive --no-watch --stale. This will no longer work. You must now usemix test.interactive --no-watch -- --staleinstead.mix test's--excludeoption.mix test.interactivenow has its own--excludeoption. Previously, you could run (for example)mix test.interactive --exclude some_test_tagand that argument would be forwarded on tomix test. Now you must usemix test.interactive -- --exclude some_test_taginstead.If you don't use either of these two options, everything should work as before.
To upgrade to this version, you'll need to update any
mixaliases or other scripts you may have defined formix test.interactive. In addition, you and everyone who works in your codebase will need to update any shell aliases they have defined.Added
mix help test.interactivefor more information. Also, see the💥 BREAKING CHANGE 💥section above. (#108)Changed
Running tests...message thatmix test.interactivedisplays before each test run is displayed in color. This makes it easier to find the most recent test run when scrolling back in your shell. (#109)v3.2.1Compare Source
Fixed
command/argson Unix-like systems.mix_test_interactivewas not correctly ordering the various arguments. (#105 - Thanks @callmiy!)v3.2.0Compare Source
Changed
file:line-style pattern. Instead, we'd pass all of the patterns tomix testliterally. Now, we run normal file filtering for any non-file:line-style patterns and concatenate the results with anyfile:line-style patterns. (#99)v3.1.0Compare Source
Added
commandconfiguration option that allows use of a custom command instead ofmixfor running tests. See the README for more details. (#96)Changed
v3.0.0Compare Source
💥 BREAKING CHANGE 💥
same versions as Elixir
itself,
so support for Elixir 1.12.
(#94)
There are no actual breaking changes in the code itself, so as long as you're on
Elixir 1.13 or later, you should have no problems upgrading to this version.
Changed
v2.1.0Compare Source
Fixed
v2.0.4Compare Source
Fixed
@jwilger!)
v2.0.3Compare Source
Changed
file_systemdependency to allow versions 0.2 and 1.0 to avoid dependency conflicts with popular libraries likephoenix_live_reload. Previously, we'd specified v0.3, but there is no such version offile_system. (#83)v2.0.2Compare Source
Changed
file_systemversions 0.3 and 1.0 to avoid dependency conflicts with popular libraries likephoenix_live_reload. (#81)v2.0.1Compare Source
Fixed
stylerdependency a dev-only dependency to avoid pulling it into client projects with a potential version conflict. (#79)v2.0.0Compare Source
💥 BREAKING CHANGES 💥
same versions as Elixir
itself,
so support for Elixir 1.11 and prior has been dropped.
(#67,
#75)
version 1.0. This appears to be a simple bump to 1.0 with no breaking changes,
so should be safe to upgrade to. It might break dependency resolution
if you're locked to a pre-1.0 version, so it's noted here.
(#72 - Thanks
@andyl!)
There are no actual breaking changes, so as long as you're on Elixir 1.12 or
later and aren't depending on a pre-1.0 version of
file_system, you shouldhave no problems upgrading to this version.
Added
Add full task documentation.
mix help test.interactivewill now show asummary of usage and configuration information (#70)
Add support for newer
mix testoptions (#71)v1.2.2Compare Source
No functional changes; purely administrative.
Changed
v1.2.1Compare Source
Fixed
(#57 - Thanks @juddey!)
v1.2.0Compare Source
Changed
Documentation
Include proper source ref in the generated documentation so that it now points at the correct version of the source code. (#51 - Thanks @kianmeng!)
Include license and changelog in generated documentation. (#51 - Thanks @kianmeng!)
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.