-
Notifications
You must be signed in to change notification settings - Fork 10
Comparing changes
Open a pull request
base repository: bazelbuild/rules_testing
base: v0.5.0
head repository: bazelbuild/rules_testing
compare: v0.6.0rc1
- 13 commits
- 10 files changed
- 4 contributors
Commits on Oct 11, 2023
-
chore: Disable Bzlmod explicitly for workspace setup (#73)
The upcoming Bazel version defaults to having bzlmod enabled, which means workspace builds will need to explicitly disable it to continue to be workspace-based. bazelbuild/bazel#18958
Configuration menu - View commit details
-
Copy full SHA for 8c70cee - Browse repository at this point
Copy the full SHA 8c70ceeView commit details -
chore: fix order of loads to satisfy buildifier check
A recent commit changed the order to satisfy the internal ordering, but ended up breaking the external ordering. PiperOrigin-RevId: 572474447
Configuration menu - View commit details
-
Copy full SHA for b88ee3c - Browse repository at this point
Copy the full SHA b88ee3cView commit details
Commits on Dec 6, 2023
-
docs: document 0.4.0 and 0.5.0 changes
The last couple releases didn't have the changelog updated to reflect what was actually released. PiperOrigin-RevId: 588396254
Configuration menu - View commit details
-
Copy full SHA for fc5c104 - Browse repository at this point
Copy the full SHA fc5c104View commit details
Commits on Dec 8, 2023
-
chore: upgrade (dev only dependency) rules_python 0.22.0 -> 0.27.0
This removes a hack to make the dev-only register_toolchains() call not break the production configuration. This hack is no longer necessary as of rules_python 0.23.0 and higher. Version 0.27.0 is chosen because the latest release has some code for building Sphinx documentation I'd like to experiment with re-using. Coincidentally, this should also fix an an issue with the Bazel@HEAD downstream CI pipeline running tests for Mac/Windows that should be skipped, but fail due to very early MODULE-phase errors. With this change, it's able to get past that failure and run enough that the Bazel@HEAD downstream CI should be happy. Note those tests aren't gauranteed to continue to work on those platforms, they just happen to. Fixes #76
Configuration menu - View commit details
-
Copy full SHA for 082e330 - Browse repository at this point
Copy the full SHA 082e330View commit details -
Merge pull request #81 from rickeylev:upgrade.rules.python
PiperOrigin-RevId: 589135805
Blaze Rules Copybara committedDec 8, 2023 Configuration menu - View commit details
-
Copy full SHA for 3eb7423 - Browse repository at this point
Copy the full SHA 3eb7423View commit details
Commits on Dec 11, 2023
-
feat: allow custom target-under-test attributes
This allows customizing what attributes are considered a target under test, i.e. that they have aspects, config settings, etc applied. This allows having multiple targets be tested, which is useful for comparing targets in different configurations, multiple targets with a custom configuration, or some combination of that. When this is used, the implementation function is passed a struct of the targets under test, keyed by their attribute name, instead of the singular target under test. Fixes #67 PiperOrigin-RevId: 589888837
Configuration menu - View commit details
-
Copy full SHA for 28486ac - Browse repository at this point
Copy the full SHA 28486acView commit details
Commits on Dec 12, 2023
-
fix(analysis_test)!: make all args keyword only
By convention, rule-like macros and rules should be called with keyword args. Enforce this by using `*` notation in the `analysis_test` signature. BREAKING CHANGE: * If you were passing any positional args, you must update the calls to use keyword args. PiperOrigin-RevId: 590253370Configuration menu - View commit details
-
Copy full SHA for d86056e - Browse repository at this point
Copy the full SHA d86056eView commit details
Commits on Feb 15, 2024
-
Add support for provider maps to rules_testing
Currently, If you are testing a custom provider, the API requires you to write: env.expect.that_target(targets.foo).provider(FooInfo, factory=FooFactory)... env.expect.that_target(targets.foo).provider(BarInfo, factory=BarFactory)... This can get very tedious, and more importantly, is not very safe, since you can write: env.expect.that_target(targets.foo).provider(FooInfo, factory=FooFactory)... env.expect.that_target(targets.foo).provider(BarInfo, factory=FooFactory)... Additionally, custom types are always rendered as "<provider>". To solve this, we add the ability to directly specify a list of factories for custom types in your test. analysis_test( ..., provider_factories = [struct(type = FooInfo, name = "FooInfo", factory = FooFactory)] ) PiperOrigin-RevId: 607174706A Googler authored and Blaze Rules Copybara committedFeb 15, 2024 Configuration menu - View commit details
-
Copy full SHA for da76c59 - Browse repository at this point
Copy the full SHA da76c59View commit details -
Update changlog for 0.6.0 release
PiperOrigin-RevId: 607232096
Configuration menu - View commit details
-
Copy full SHA for c9abae8 - Browse repository at this point
Copy the full SHA c9abae8View commit details -
PiperOrigin-RevId: 607261014
A Googler authored and Blaze Rules Copybara committedFeb 15, 2024 Configuration menu - View commit details
-
Copy full SHA for 1d2ce3f - Browse repository at this point
Copy the full SHA 1d2ce3fView commit details
Commits on Feb 18, 2024
-
Roll forward of "Add support for provider maps to rules_testing"
PiperOrigin-RevId: 608172011
A Googler authored and Blaze Rules Copybara committedFeb 18, 2024 Configuration menu - View commit details
-
Copy full SHA for 4528096 - Browse repository at this point
Copy the full SHA 4528096View commit details
Commits on Feb 19, 2024
-
Fix expect.that_struct. It is currently broken, since it won't take i…
…n attrs, and attrs in a mandatory attribute for the new function on a struct. Also add expect.that_value to allow you to work with arbitrary types PiperOrigin-RevId: 608252913
A Googler authored and Blaze Rules Copybara committedFeb 19, 2024 Configuration menu - View commit details
-
Copy full SHA for fd1237c - Browse repository at this point
Copy the full SHA fd1237cView commit details
Commits on Feb 20, 2024
-
provide "meta" as a kwarg. Previously it would work if your factory d…
…efined def factory(value, meta) but would fail if you wrote the signature as def factory(value, *, meta) PiperOrigin-RevId: 608504071
A Googler authored and Blaze Rules Copybara committedFeb 20, 2024 Configuration menu - View commit details
-
Copy full SHA for 220fb65 - Browse repository at this point
Copy the full SHA 220fb65View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v0.5.0...v0.6.0rc1