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

Add :only-tags option #32

Merged
merged 9 commits into from
Sep 11, 2024
Merged

Add :only-tags option #32

merged 9 commits into from
Sep 11, 2024

Conversation

camsaul
Copy link
Member

@camsaul camsaul commented Sep 11, 2024

I'm going to do something super cool with this NGL no cap fr fr

@camsaul camsaul requested a review from a team September 11, 2024 00:44
Base automatically changed from improved-test-partitioning to main September 11, 2024 09:01
Copy link
Contributor

@crisptrutski crisptrutski left a comment

Choose a reason for hiding this comment

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

Eyes peeled for the big use case reveal 🤩

(tags-set (:ns (meta varr)))
(tags-set varr)))]
(printf
"Skipping `%s` due to missing only tag(s): %s\n"
Copy link
Contributor

Choose a reason for hiding this comment

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

It would be really nice if we rolled up the logs to namespace level when possible, as typically none of the tests will be adding any more tags.

Copy link
Member Author

Choose a reason for hiding this comment

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

I'll tackle this separately. It is a little noisy

Comment on lines +78 to +81
(are [options] (= [#'find-tests-test]
(hawk/find-tests this-ns options))
{:only-tags [:exclude-this-test]}
{:only-tags #{:exclude-this-test}}))
Copy link
Contributor

Choose a reason for hiding this comment

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

These seems to be repeated test cases.

Copy link
Member Author

Choose a reason for hiding this comment

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

no a set and vector are not the same and I want to make sure both work

Copy link
Contributor

Choose a reason for hiding this comment

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

I meant that they're both duplicates of the tests on line 74 and 75, if I'm not mistaken

@crisptrutski
Copy link
Contributor

Apologies for rudely pushing to your branch - Github wouldn't show the right diff without fixing the conflicts.

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.

2 participants