v0.14.0
Pre-release
Pre-release
Many thanks to @carlwhamilton, @kezhuw, @calder, @eopb for contributing to this release!
API Changes
- Rename
into_test_resulttoor_fail(2720c76).
New Features
- Make
matches_patternsupport_at the top level in tuple and braced structs (a1e9bac, 3d65dea). - Make
matches_patternenforce exhaustive field checks for tuple and braced structs by default (https://sgithub.com/google/googletest-rust/commit/2ba098e02388d3fce91f445defb2e2f167898f10, 99bcfaa, a17b655). - Add a
container_eq(...).ignore_order()matcher (48ffd20). - Add
StrMatcher::ignoring_unicode_case(25322c8). - Add support for the Bazel test sharing protocol (b8d251a, ef06f3f, cb8eaf9).
- Add
is_finiteandis_infinitematchers (9a6712c, 4e35e2c). - Make googletest-rust usable from
#![no_std]crates (7ca2fb5). - Append generated test macro so that other test macros are aware of it (ee4996d).
- Improve the macro hygiene of
expect_that!(1a6ef3d). - Implement the Bazel
TESTBRIDGE_TEST_ONLYprotocol for test filtering with globs (a834f86, 43d5976, 8fa7024). - Allow passing of failure messages and formatting arguments to
expect_true!,expect_false!,assert_pred!, andexpect_pred!(2986294, bbae567).
Bug Fixes
- Fix issue where macros do not compile without
use googletest::prelude::*;by making calls between macros fully qualified (7a54871). - Improve test hermeticity by calling
Command::env_clear()in integration tests (b90142a).
Full Changelog: v0.13.0...v0.14.0