Skip to content

Commit

Permalink
[nextest] prepare for releases
Browse files Browse the repository at this point in the history
  • Loading branch information
sunshowers committed Feb 24, 2022
1 parent 0d2c05b commit 4fd59e0
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions cargo-nextest/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "cargo-nextest"
description = "A next-generation test runner for Rust."
version = "0.9.7"
version = "0.9.8"
readme = "README.md"
license = "Apache-2.0 OR MIT"
repository = "https://github.com/nextest-rs/nextest"
Expand All @@ -23,7 +23,7 @@ enable-ansi-support = "0.1.2"
env_logger = { version = "0.9.0", default-features = false }
guppy = "0.13.0"
log = "0.4.14"
nextest-runner = { version = "0.2.1", path = "../nextest-runner" }
nextest-runner = { version = "0.3.0", path = "../nextest-runner" }
nextest-metadata = { version = "0.1.0", path = "../nextest-metadata" }
owo-colors = { version = "3.2.0", features = ["supports-colors"] }
shellwords = "1.1.0"
Expand Down
11 changes: 11 additions & 0 deletions nextest-runner/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Changelog

## [0.3.0] - 2022-02-23

### Fixed

- Target runners of the form `runner = ["bin-name", "--arg1", ...]` are now parsed correctly ([#75]).
- Binary IDs for `[[bin]]` and `[[example]]` tests are now unique, in the format `<crate-name>::bin/<binary-name>` and `<crate-name>::test/<binary-name>` respectively ([#76]).

[#75]: https://github.com/nextest-rs/nextest/pull/75
[#76]: https://github.com/nextest-rs/nextest/pull/76

## [0.2.1] - 2022-02-23

- Improvements to `TargetRunnerError` message display: source errors are no longer displayed directly, only in "caused by".
Expand Down Expand Up @@ -28,6 +38,7 @@

- Initial version.

[0.3.0]: https://github.com/nextest-rs/nextest/releases/tag/nextest-runner-0.3.0
[0.2.1]: https://github.com/nextest-rs/nextest/releases/tag/nextest-runner-0.2.1
[0.2.0]: https://github.com/nextest-rs/nextest/releases/tag/nextest-runner-0.2.0
[0.1.2]: https://github.com/nextest-rs/nextest/releases/tag/nextest-runner-0.1.2
Expand Down
2 changes: 1 addition & 1 deletion nextest-runner/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "nextest-runner"
description = "Core runner logic for cargo nextest."
version = "0.2.1"
version = "0.3.0"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/nextest-rs/nextest"
Expand Down
11 changes: 11 additions & 0 deletions site/src/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,16 @@
This page documents new features and bugfixes for cargo-nextest. Please see the [stability
policy](book/stability.md) for how versioning works with cargo-nextest.

## [0.9.8] - 2022-02-23

### Fixed

- Target runners of the form `runner = ["bin-name", "--arg1", ...]` are now parsed correctly ([#75]).
- Binary IDs for `[[bin]]` and `[[example]]` tests are now unique, in the format `<crate-name>::bin/<binary-name>` and `<crate-name>::test/<binary-name>` respectively ([#76]).

[#75]: https://github.com/nextest-rs/nextest/pull/75
[#76]: https://github.com/nextest-rs/nextest/pull/76

## [0.9.7] - 2022-02-23

### Fixed
Expand Down Expand Up @@ -80,6 +90,7 @@ Supported in this initial release:
* [Test retries](book/retries.md) and flaky test detection
* [JUnit support](book/junit.md) for integration with other test tooling

[0.9.8]: https://github.com/nextest-rs/nextest/releases/tag/cargo-nextest-0.9.8
[0.9.7]: https://github.com/nextest-rs/nextest/releases/tag/cargo-nextest-0.9.7
[0.9.6]: https://github.com/nextest-rs/nextest/releases/tag/cargo-nextest-0.9.6
[0.9.5]: https://github.com/nextest-rs/nextest/releases/tag/cargo-nextest-0.9.5
Expand Down
4 changes: 3 additions & 1 deletion site/src/book/running.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ In the output above:
* Tests are marked **`PASS`** or **`FAIL`**, and the amount of wall-clock time each test takes is listed within square brackets. In the example above, **`test_list_tests`** passed and took 0.603 seconds to execute.
* The part of the test in purple is the *test binary*. A test binary is either:
* a *unit test binary* built from tests inline within `lib.rs`. These test binaries are shown by nextest as just the crate name, without a `::` separator inside them.
* an *integration test binary* built from tests in the `[[test]]` section of `Cargo.toml` (typically tests in the `tests` directory.) These tests are shown by nextest in the format `crate-name::bin-name`.
* an *integration test binary* built from tests in the `[[test]]` section of `Cargo.toml` (typically tests in the `tests` directory.) These tests are shown by nextest in the format `crate-name::bin-name`[^bin-example].

For more about unit and integration tests, see [the documentation for `cargo test`](https://doc.rust-lang.org/cargo/commands/cargo-test.html).
* The part after the test binary is the *test name*, including the module the test is in. The final part of the test name is highlighted in bold blue text.
Expand All @@ -27,6 +27,8 @@ cargo nextest run -p my-package

For a full list of options accepted by `cargo nextest run`, see `cargo nextest run --help`.

[^bin-example]: `bin` and `example` targets can also contain tests. Those are represented as `crate-name::bin/bin-name` and `crate-name::example/example-name`, respectively.

### Filtering tests

To only run tests that match certain names:
Expand Down
2 changes: 1 addition & 1 deletion site/src/book/stability.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The public API does *not* include human-readable output generated by nextest, or

## Libraries

The libraries used by cargo-nextest, [nextest-metadata](https://crates.io/crates/nextest-metadata) and [nextest-runner](https://crates.io/crates/nextest-runner), follow the standard Rust library versioning policy.
The libraries used by cargo-nextest, [nextest-metadata](https://crates.io/crates/nextest-metadata) and [nextest-runner](https://crates.io/crates/nextest-runner), follow the standard Rust library versioning policy. Breaking changes to `nextest-runner` in particular will happen more rapidly than changes to `cargo-nextest`.

## Minimum supported Rust version (MSRV)

Expand Down

0 comments on commit 4fd59e0

Please sign in to comment.