Repository navigation
Added package model and tests - #6277
Merged
jgonz120 merged 1 commit intoFeb 24, 2025
Merged
Conversation
jebriede
reviewed
Feb 19, 2025
jebriede
reviewed
Feb 19, 2025
jebriede
reviewed
Feb 19, 2025
jebriede
reviewed
Feb 20, 2025
Contributor
|
Please create and link a GitHub issue to the PR. |
nkolev92
reviewed
Feb 20, 2025
nkolev92
reviewed
Feb 20, 2025
jgonz120
force-pushed
the
dev-jgonz120-AddPackageBaseModel
branch
from
February 20, 2025 21:00
fdedd2c to
6a2ad25
Compare
nkolev92
reviewed
Feb 20, 2025
jebriede
approved these changes
Feb 24, 2025
jebriede
left a comment
Contributor
There was a problem hiding this comment.
Approving with a test suggestion
| public class PackageModelTests | ||
| { | ||
| [Fact] | ||
| public void PackageModelCtr_IdAndVersion_ReturnsValueFromIdentity() |
Contributor
There was a problem hiding this comment.
Nit: This method is actually testing the return value of two related, but distinct properties, not the constructor. Consider breaking this into two tests and name them according to which getters are tested. Note, you can share the same package identity arrangement between both tests by using a setup / constructor for this test class.
martinrrm
approved these changes
Feb 24, 2025
jebriede
pushed a commit
that referenced
this pull request
Mar 24, 2025
jebriede
pushed a commit
that referenced
this pull request
Apr 16, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bug
Fixes: https://github.com/NuGet/Client.Engineering/issues/3185
Description
Added the base abstract class which will represent a package in the new data model.
PR Checklist
Link to an issue or pull request to update docs if this PR changes settings, environment variables, new feature, etc.