Skip to content

Releases: bazelbuild/rules_testing

v0.7.0

28 Oct 20:19
Compare
Choose a tag to compare

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

Full Changelog: v0.6.0...v0.7.0

v0.6.0rc1

20 Feb 13:18
Compare
Choose a tag to compare

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

Full Changelog: v0.5.0...v0.6.0rc1

v0.6.0

20 Feb 14:10
Compare
Choose a tag to compare

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

Full Changelog: v0.5.0...v0.6.0

v0.5.0

11 Oct 05:41
Compare
Choose a tag to compare

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

New Contributors

Full Changelog: v0.4.0...v0.5.0

v0.4.0

11 Jul 03:18
Compare
Choose a tag to compare

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

Full Changelog: v0.3.0...v0.4.0

v0.3.0

06 Jul 19:52
Compare
Choose a tag to compare

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

Full Changelog: v0.2.0...v0.3.0

v0.2.0

17 Jun 17:57
Compare
Choose a tag to compare

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

02 May 19:31
Compare
Choose a tag to compare

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

v0.0.5

27 Apr 17:32
Compare
Choose a tag to compare

WARNING: This version is broken with bzlmod

WORKSPACE snippet:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_testing",
    sha256 = "0c2abee201f566a088c720e12bc1d968bc56e6a51b692d9c81b1fe861bdf2be2",
    strip_prefix = "rules_testing-0.0.5",
    url = "https://github.com/bazelbuild/rules_testing/releases/download/v0.0.5/rules_testing-v0.0.5.tar.gz",
)

What's Changed

Other Changes

  • tests: add bzlmod coverage to CI config by @rickeylev in #19
  • docs: Make bzl files processable by stardoc. by @copybara-service in #20
  • docs: split docs into more user-friendly docs. by @copybara-service in #22
  • cleanup: Deduplicate variables in compare_contains_exactly_predicates by @fmeum in #30
  • Generate docs using Sphinx and Readthedocs by @rickeylev in #28
  • fix: Record match for matching in-order elements by @fmeum in #29

New Contributors

  • @fmeum made their first contribution in #30

Full Changelog: v0.0.4...v0.0.5

v0.0.4

10 Mar 08:10
Compare
Choose a tag to compare

WORKSPACE snippet:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_testing",
    sha256 = "4e21f9aa7996944ce91431f27bca374bff56e680acfe497276074d56bc5d9af2",
    strip_prefix = "rules_testing-0.0.4",
    url = "https://github.com/bazelbuild/rules_testing/releases/download/v0.0.4/rules_testing-v0.0.4.tar.gz",
)

What's Changed

Other Changes

  • fix: Remove google-internal path from file_subject_test by @rickeylev in #8
  • Add simple end-to-end tests for bzlmod. by @rickeylev in #9
  • test: Ignore nested workspaces so //... works in the main repo. by @rickeylev in #13
  • tests: Remove google-internal path from target_subject_test by @rickeylev in #14
  • style: fix buildifier warnings by @rickeylev in #16
  • cleanup: default visibility to private by @copybara-service in #17
  • fix: make fail use correct attribute name by @copybara-service in #18

New Contributors

  • @copybara-service made their first contribution in #17

Full Changelog: v0.0.3...v0.0.4