Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add assert_directory_contains test to testing.bzl #560

Merged
merged 1 commit into from
Sep 29, 2023

Conversation

gregmagolan
Copy link
Member

@gregmagolan gregmagolan commented Sep 29, 2023

Similar to assert_archive_contains but for a directory artifact. If you're testing a directory output of a target this is better than use using a build_test since you can also assert that expected files are outputted.


Type of change

  • New feature or functionality (change which adds functionality)

Test plan

  • New test cases added
  • Manual testing; please provide instructions so we can reproduce:

Manually tested the negative case.

lib/testing.bzl Show resolved Hide resolved
@gregmagolan gregmagolan merged commit 1d816e0 into main Sep 29, 2023
50 checks passed
@gregmagolan gregmagolan deleted the assert_directory_contains branch September 29, 2023 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants