Skip to content

Commit

Permalink
[site] a couple of updates + changelog updates
Browse files Browse the repository at this point in the history
  • Loading branch information
sunshowers committed Aug 28, 2024
1 parent 32085ab commit 134bd21
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 9 deletions.
7 changes: 7 additions & 0 deletions nextest-filtering/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## [0.12.0] - 2024-08-28

### Changed

- Renamed references from "default-set" to "default-filter" to match cargo-nextest changes.

## [0.11.0] - 2024-08-25

### Changed
Expand Down Expand Up @@ -128,6 +134,7 @@ For more information, see the changelog for [cargo-nextest 0.9.64](https://nexte

Initial release.

[0.12.0]: https://github.com/nextest-rs/nextest/releases/tag/nextest-filtering-0.12.0
[0.11.0]: https://github.com/nextest-rs/nextest/releases/tag/nextest-filtering-0.11.0
[0.10.0]: https://github.com/nextest-rs/nextest/releases/tag/nextest-filtering-0.10.0
[0.9.0]: https://github.com/nextest-rs/nextest/releases/tag/nextest-filtering-0.9.0
Expand Down
11 changes: 11 additions & 0 deletions nextest-metadata/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Changelog

## [0.12.0] - 2024-08-28

### Changed

- Renamed references from "default-set" to "default-filter" to match cargo-nextest changes.

### Removed

- `NextestExitCode::INVALID_FILTERSET` no longer exists.

## [0.11.3] - 2024-08-25

### Changed
Expand Down Expand Up @@ -229,6 +239,7 @@ This release is compatible with cargo-nextest 0.9.10 and later.

- Initial version, with support for listing tests.

[0.12.0]: https://github.com/nextest-rs/nextest/releases/tag/nextest-metadata-0.12.0
[0.11.3]: https://github.com/nextest-rs/nextest/releases/tag/nextest-metadata-0.11.3
[0.11.2]: https://github.com/nextest-rs/nextest/releases/tag/nextest-metadata-0.11.2
[0.11.1]: https://github.com/nextest-rs/nextest/releases/tag/nextest-metadata-0.11.1
Expand Down
4 changes: 0 additions & 4 deletions nextest-metadata/src/exit_codes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,6 @@ impl NextestExitCode {
/// A filterset failed to parse.
pub const INVALID_FILTERSET: i32 = 94;

/// Deprecated form of [`Self::INVALID_FILTERSET`].
#[deprecated(since = "0.11.3", note = "Use `INVALID_FILTERSET` instead")]
pub const INVALID_FILTER_EXPRESSION: i32 = Self::INVALID_FILTERSET;

/// A self-update was requested but this version of cargo-nextest cannot perform self-updates.
pub const SELF_UPDATE_UNAVAILABLE: i32 = 93;

Expand Down
5 changes: 5 additions & 0 deletions nextest-runner/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## [0.60.0] - 2024-08-28

See the changelog for [cargo-nextest 0.9.77](https://nexte.st/changelog#0.9.77).

## [0.59.0] - 2024-08-25

See the changelog for [cargo-nextest 0.9.76](https://nexte.st/changelog#0.9.76).
Expand Down Expand Up @@ -462,6 +466,7 @@ Thanks to [Guiguiprim](https://github.com/Guiguiprim) for their contributions to

- Initial version.

[0.60.0]: https://github.com/nextest-rs/nextest/releases/tag/nextest-runner-0.60.0
[0.59.0]: https://github.com/nextest-rs/nextest/releases/tag/nextest-runner-0.59.0
[0.58.0]: https://github.com/nextest-rs/nextest/releases/tag/nextest-runner-0.58.0
[0.57.0]: https://github.com/nextest-rs/nextest/releases/tag/nextest-runner-0.57.0
Expand Down
10 changes: 7 additions & 3 deletions site/src/docs/filtersets/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,19 @@ cargo nextest run -E 'test(my_test) + package(my-crate)'

### Filtersets with the default set

<!-- md:version 0.9.76 -->
<!-- md:version 0.9.78 -->

If [a default filter](../running.md#running-a-subset-of-tests-by-default) for tests is configured, filtersets on the command line are intersected with the default filter.
If [a default filter](../running.md#running-a-subset-of-tests-by-default) for tests is configured,
filtersets on the command line are intersected with the default filter.

To match against all tests, not just the default set, pass in `--ignore-default-filter`.

The default filter can also be referred to explicitly via the `default()` predicate.

Filtersets specified in configuration (for example, in [per-test
settings](../configuration/per-test-overrides.md), or `default-filter` itself) do not take into
account the default filter.
account the default filter. To do so explicitly (other than in `default-filter`), use the
`default()` predicate.

## DSL reference

Expand Down
2 changes: 0 additions & 2 deletions site/src/docs/running.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,6 @@ The default filter is available in the filterset DSL via the `default()` predica

!!! info "Overriding the default filter"

<!-- md:version 0.9.76 -->

By default, command-line arguments are always interpreted with respect to the default filter. For example, `cargo nextest -E 'all()'` will run all tests that match the default filter.

To override the default set on the command line, use `--ignore-default-filter`. For example, `cargo nextest -E 'all()' --ignore-default-filter` will run all tests, including those not in the default set.
Expand Down

0 comments on commit 134bd21

Please sign in to comment.