Skip to content

Conversation

@tidefield
Copy link
Contributor

This is a follow-up PR of #2422.

I'm scoping it to a separate PR to introduce @rules_testing (a new Starlark testing framework). The framework removes a lot of boilerplate code (unncessarily) required when writing analysis tests.

@tidefield tidefield changed the title Introduce @rules_testing to write Starlark tests Introduce @rules_testing for Starlark tests Feb 16, 2024
@tidefield tidefield force-pushed the test-for-bindgen-cc-linkopt branch from f074e98 to 5802697 Compare February 16, 2024 04:03
@tidefield tidefield force-pushed the test-for-bindgen-cc-linkopt branch from 5802697 to d641b9e Compare February 16, 2024 04:04
Copy link
Collaborator

@UebelAndre UebelAndre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Seems totally fine to me! I think if we want to introduce this it'd be good to do so in a change that converts more so we can get a better sense of the practical improvement the new framework offers to the repo.

@tidefield
Copy link
Contributor Author

it'd be good to do so in a change that converts more

That's a good idea. I'll hold on to this PR until I convert a few more tests to surface the differences more clearly.

@tidefield tidefield force-pushed the test-for-bindgen-cc-linkopt branch from 978bb3d to 2211293 Compare February 19, 2024 16:58
@tidefield
Copy link
Contributor Author

Since I need to use rules_testing to write tests for #2414, I'll go ahead and merge the PR. I'll follow-up with converting a few more tests to rules_testing before we introduce it more broadly.

@tidefield tidefield enabled auto-merge February 19, 2024 17:04
@tidefield tidefield added this pull request to the merge queue Feb 19, 2024
Merged via the queue into bazelbuild:main with commit 184da7d Feb 19, 2024
qtica added a commit to qtica/rules_rust that referenced this pull request Apr 1, 2024
This is a follow-up PR of
bazelbuild#2422.

I'm scoping it to a separate PR to introduce
[@rules_testing](https://github.com/bazelbuild/rules_testing) (a new
Starlark testing framework). The framework removes a lot of boilerplate
code (unncessarily) required when writing analysis tests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants