Skip to content

info: improve coverage#41001

Merged
tldahlgren merged 1 commit intodevelopfrom
spack-info-coverage
Nov 13, 2023
Merged

info: improve coverage#41001
tldahlgren merged 1 commit intodevelopfrom
spack-info-coverage

Conversation

@tgamblin
Copy link
Copy Markdown
Member

Tests didn't cover the new --variants-by-name parameter in #40998. Add some parameterization to hit that.

This changeset makes me think that the main section-printing loop in spack info isn't factored so well. It makes it difficult to pass different arguments to different helper functions. I could break it out into if statements if folks think that would be cleaner.

Tests didn't cover the new `--variants-by-name` parameter in #40998.
Add some parameterization to hit that.

This changeset makes me think that the main section-printing loop in `spack info` isn't
factored so well. It makes it difficult to pass different arguments to different helper
functions.  I could break it out into if statements if folks think that would be cleaner.
@spackbot-app spackbot-app bot added commands core PR affects Spack core functionality tests General test capability(ies) labels Nov 10, 2023
@tgamblin tgamblin requested a review from tldahlgren November 10, 2023 11:41
Copy link
Copy Markdown
Contributor

@tldahlgren tldahlgren left a comment

Choose a reason for hiding this comment

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

LGTM. ❤️

@tldahlgren tldahlgren merged commit f74b083 into develop Nov 13, 2023
@tldahlgren tldahlgren deleted the spack-info-coverage branch November 13, 2023 21:45
gabrielctn pushed a commit to gabrielctn/spack that referenced this pull request Nov 24, 2023
Tests didn't cover the new `--variants-by-name` parameter in spack#40998.
Add some parameterization to hit that.

This changeset makes me think that the main section-printing loop in `spack info` isn't
factored so well. It makes it difficult to pass different arguments to different helper
functions.  I could break it out into if statements if folks think that would be cleaner.
mtaillefumier pushed a commit to mtaillefumier/spack that referenced this pull request Dec 14, 2023
Tests didn't cover the new `--variants-by-name` parameter in spack#40998.
Add some parameterization to hit that.

This changeset makes me think that the main section-printing loop in `spack info` isn't
factored so well. It makes it difficult to pass different arguments to different helper
functions.  I could break it out into if statements if folks think that would be cleaner.
RikkiButler20 pushed a commit to RikkiButler20/spack that referenced this pull request Jan 31, 2024
Tests didn't cover the new `--variants-by-name` parameter in spack#40998.
Add some parameterization to hit that.

This changeset makes me think that the main section-printing loop in `spack info` isn't
factored so well. It makes it difficult to pass different arguments to different helper
functions.  I could break it out into if statements if folks think that would be cleaner.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

commands core PR affects Spack core functionality tests General test capability(ies)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants