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

chore(test): tag all unittests as !integration #3047

Merged
merged 4 commits into from
Jan 6, 2025
Merged

chore(test): tag all unittests as !integration #3047

merged 4 commits into from
Jan 6, 2025

Conversation

dnwe
Copy link
Collaborator

@dnwe dnwe commented Dec 27, 2024

To avoid re-running all the unittests when running the integration (FV) tests, add a go:build directive of '!integration' to all unittest files.

@dnwe dnwe added the chore label Dec 27, 2024
@dnwe dnwe requested review from prestona and hindessm December 27, 2024 14:56
dnwe added 4 commits December 27, 2024 23:03
To avoid re-running all the unittests when running the integration (FV)
tests, add a go:build directive of '!integration' to all unittest files.

Signed-off-by: Dominic Evans <[email protected]>
Move unittest and functional test shared code into helper files

Signed-off-by: Dominic Evans <[email protected]>
Currently gotestsum just outputs the package-level metrics. For FV it
would be useful to see the per-func metrics for the main package.

Signed-off-by: Dominic Evans <[email protected]>
@dnwe dnwe changed the base branch from main to dnwe/go December 27, 2024 22:04
Base automatically changed from dnwe/go to main January 6, 2025 09:41
Copy link
Collaborator

@hindessm hindessm left a comment

Choose a reason for hiding this comment

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

LGTM

@dnwe dnwe merged commit d6ea1b0 into main Jan 6, 2025
14 checks passed
@dnwe dnwe deleted the dnwe/unittests branch January 6, 2025 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants