Releases: bazelbuild/rules_testing
Releases · bazelbuild/rules_testing
v0.9.0
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_testing",
sha256 = "281b69eed71e2b95cefc284ee5a1a9f7c5088141b58f2508be910eb22f13b986",
strip_prefix = "rules_testing-0.9.0",
url = "https://github.com/bazelbuild/rules_testing/releases/download/v0.9.0/rules_testing-v0.9.0.tar.gz",
)What's Changed
Other Changes
- Accept a
provider_nameinTargetSubject.provider()andTargetSubject.has_provider()by @copybara-service[bot] in #137 - Add an
StrSubjectforbasenametoFileSubjectby @copybara-service[bot] in #138
Full Changelog: v0.8.0...v0.9.0
v0.8.0
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_testing",
sha256 = "89feaf18d6e2fc07ed7e34510058fc8d48e45e6d2ff8a817a718e8c8e4bcda0e",
strip_prefix = "rules_testing-0.8.0",
url = "https://github.com/bazelbuild/rules_testing/releases/download/v0.8.0/rules_testing-v0.8.0.tar.gz",
)What's Changed
Other Changes
- chore(deps): stardoc, rules_python, rules_cc, protobuf, rule_java by @rickeylev in #117
- chore: remove defunct file and todo by @copybara-service in #118
- chore: upgrade CI from Bazel 5 to 6 by @comius in #122
- Copy unittest.bzl tests from bazel_skylib to rules_testing. by @copybara-service in #123
- Internal functionality by @copybara-service in #124
- chore: Prepare WORKSPACE mode for Bazel 8 by @hvadehra in #127
- Internal change by @copybara-service in #129
- Add bindir to formatting variables by @copybara-service in #131
- Remove collect_actions_recursively by @copybara-service in #133
- Support testing aspects by @copybara-service in #135
New Contributors
Full Changelog: v0.7.0...v0.8.0
v0.7.0
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_testing",
sha256 = "28c2d174471b587bf0df1fd3a10313f22c8906caf4050f8b46ec4648a79f90c3",
strip_prefix = "rules_testing-0.7.0",
url = "https://github.com/bazelbuild/rules_testing/releases/download/v0.7.0/rules_testing-v0.7.0.tar.gz",
)What's Changed
Other Changes
- Adding Bazel versions to presubmit.yml by @comius in #94
- Copy unittest.bzl from bazel_skylib to rules_testing. by @copybara-service in #97
- Update Stardoc to 0.6.2. by @lberki in #100
- Explicitly enable WORKSPACE in WORKSPACE tests by @Wyverald in #105
- Skip analysis tests when coverage is run. by @copybara-service in #107
- Upgrade workspace rules_java to 7.11.1 by @copybara-service in #110
- Update changelog for 0.7.0 release by @copybara-service in #116
New Contributors
- @comius made their first contribution in #94
- @lberki made their first contribution in #100
- @Wyverald made their first contribution in #105
Full Changelog: v0.6.0...v0.7.0
v0.6.0rc1
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_testing",
sha256 = "c06835f9e2858edbbcda79dd728e3caedcbd43a1234014ff2884cf57a93f280c",
strip_prefix = "rules_testing-0.6.0rc1",
url = "https://github.com/bazelbuild/rules_testing/releases/download/v0.6.0rc1/rules_testing-v0.6.0rc1.tar.gz",
)What's Changed
Other Changes
- chore: Disable Bzlmod explicitly for workspace setup by @meteorcloudy in #73
- chore: fix order of loads to satisfy buildifier check by @copybara-service in #74
- docs: document 0.4.0 and 0.5.0 changes by @copybara-service in #77
- chore: upgrade (dev only dependency) rules_python 0.22.0 -> 0.27.0 by @rickeylev in #81
- feat: allow custom target-under-test attributes by @copybara-service in #78
- Add support for provider maps to rules_testing by @copybara-service in #83
- Update changlog for 0.6.0 release by @copybara-service in #85
- breaks internal tests by @copybara-service in #86
- Roll forward of "Add support for provider maps to rules_testing" by @copybara-service in #87
- Fix expect.that_struct. It is currently broken, since it won't take in attrs, and attrs in a mandatory attribute for the new function on a struct. by @copybara-service in #90
New Contributors
- @meteorcloudy made their first contribution in #73
Full Changelog: v0.5.0...v0.6.0rc1
v0.6.0
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_testing",
sha256 = "02c62574631876a4e3b02a1820cb51167bb9cdcdea2381b2fa9d9b8b11c407c4",
strip_prefix = "rules_testing-0.6.0",
url = "https://github.com/bazelbuild/rules_testing/releases/download/v0.6.0/rules_testing-v0.6.0.tar.gz",
)What's Changed
Other Changes
- chore: Disable Bzlmod explicitly for workspace setup by @meteorcloudy in #73
- chore: fix order of loads to satisfy buildifier check by @copybara-service in #74
- docs: document 0.4.0 and 0.5.0 changes by @copybara-service in #77
- chore: upgrade (dev only dependency) rules_python 0.22.0 -> 0.27.0 by @rickeylev in #81
- feat: allow custom target-under-test attributes by @copybara-service in #78
- Add support for provider maps to rules_testing by @copybara-service in #83
- Update changlog for 0.6.0 release by @copybara-service in #85
- breaks internal tests by @copybara-service in #86
- Roll forward of "Add support for provider maps to rules_testing" by @copybara-service in #87
- Fix expect.that_struct. It is currently broken, since it won't take in attrs, and attrs in a mandatory attribute for the new function on a struct. by @copybara-service in #90
- Add env.expect.that_value to the changelog. by @copybara-service in #92
New Contributors
- @meteorcloudy made their first contribution in #73
Full Changelog: v0.5.0...v0.6.0
v0.5.0
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_testing",
sha256 = "b84ed8546f1969d700ead4546de9f7637e0f058d835e47e865dcbb13c4210aed",
strip_prefix = "rules_testing-0.5.0",
url = "https://github.com/bazelbuild/rules_testing/releases/download/v0.5.0/rules_testing-v0.5.0.tar.gz",
)What's Changed
Other Changes
- feat: Add DefaultInfoSubject by @rickeylev in #62
- docs: Fix various spelling typos by @Vertexwahn in #68
- Add support for
tupleto collection subjects by @fmeum in #69
New Contributors
- @Vertexwahn made their first contribution in #68
Full Changelog: v0.4.0...v0.5.0
v0.4.0
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_testing",
sha256 = "8df0a8eb21739ea4b0a03f5dc79e68e245a45c076cfab404b940cc205cb62162",
strip_prefix = "rules_testing-0.4.0",
url = "https://github.com/bazelbuild/rules_testing/releases/download/v0.4.0/rules_testing-v0.4.0.tar.gz",
)What's Changed
Other Changes
- feat: Allow setting common rule attributes for analysis tests by @rickeylev in #55
- feat: Add StructSubject by @rickeylev in #61
Full Changelog: v0.3.0...v0.4.0
v0.3.0
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_testing",
sha256 = "68ad825401ddfb1079fcaba2ee8999fe1c193518eab3e480c7d62adb90b92c21",
strip_prefix = "rules_testing-0.3.0",
url = "https://github.com/bazelbuild/rules_testing/releases/download/v0.3.0/rules_testing-v0.3.0.tar.gz",
)What's Changed
Other Changes
- feat: publically expose the rest of the subjects by @rickeylev in #56
- feat: add file_basename_equals, file_extension_in matchers by @rickeylev in #57
- feat: add DictSubject.get by @rickeylev in #59
- feat: add CollectionSubject.transform by @rickeylev in #58
Full Changelog: v0.2.0...v0.3.0
v0.2.0
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_testing",
sha256 = "ea99a4ecad9bea633562c715df97bfdc4353d7085aa114e8bc19a89c392351d6",
strip_prefix = "rules_testing-0.2.0",
url = "https://github.com/bazelbuild/rules_testing/releases/download/v0.2.0/rules_testing-v0.2.0.tar.gz",
)What's Changed
Other Changes
- Add default_applicable_licenses to lib package. by @copybara-service in #38
- cleanup: upgrade to rules_python 0.22.0 by @rickeylev in #39
- cleanup: Upgrade to stardoc 0.5.6 and enable bzlmod for building docs by @rickeylev in #40
- feat: Support unit test (non-analysis test) types of tests in rules_testing by @copybara-service in #46
Full Changelog: v0.1.0...v0.2.0
v0.1.0
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_testing",
sha256 = "453630dd24f1c2915d2c178b06a8244ac09c7299cc344a75356548ff3d7aeeaf",
strip_prefix = "rules_testing-0.1.0",
url = "https://github.com/bazelbuild/rules_testing/releases/download/v0.1.0/rules_testing-v0.1.0.tar.gz",
)What's Changed
Other Changes
- fix: Don't require downstream users to register Python toolchains. by @rickeylev in #34
Full Changelog: v0.0.5...v0.1.0