Skip to content

Johluo/targeting pack tests #23045

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

Merged
merged 7 commits into from
Jun 18, 2020
Merged

Johluo/targeting pack tests #23045

merged 7 commits into from
Jun 18, 2020

Conversation

JunTaoLuo
Copy link
Contributor

Addresses #19151 and #14832. Note that I'm making the changes to 5.0 first. I'll port to 3.1 when it's done.

John Luo added 2 commits June 15, 2020 02:05
@ghost ghost added the feature-platform Deprecated: Cross-cutting issues related to ASP.NET Core as a platform label Jun 17, 2020
@JunTaoLuo JunTaoLuo marked this pull request as ready for review June 17, 2020 19:17
@JunTaoLuo JunTaoLuo requested a review from a team June 17, 2020 19:17
Copy link
Member

@wtgodbe wtgodbe left a comment

Choose a reason for hiding this comment

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

Looks good other than the 1 question

Copy link
Contributor

@dougbu dougbu left a comment

Choose a reason for hiding this comment

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

Minor nits. Separately, the new tests check against calculated expectations. Do we check the expected assemblies against a hard-coded list anywhere to make sure e.g. _TargetingPackDependencies was calculated correctly?

@JunTaoLuo
Copy link
Contributor Author

I checked our tests in the shared framework and the targeting pack and it seems we never use any hardcoded values for expected assemblies. Is that something we want to add?

@Pilchie
Copy link
Member

Pilchie commented Jun 17, 2020

I think it would be good to have a hardcoded baseline that we test against so that we notice when something is added/removed from the targeting pack.

@JunTaoLuo JunTaoLuo merged commit c83fd89 into master Jun 18, 2020
@JunTaoLuo JunTaoLuo deleted the johluo/targeting-pack-tests branch June 18, 2020 00:06
JunTaoLuo pushed a commit that referenced this pull request Jun 18, 2020
* Add test for assembly versions

* Add test for framework list

* Add some hardcoded lists for sharedfx and targeting pack content
JunTaoLuo pushed a commit that referenced this pull request Jul 15, 2020
* Add sharedfx and targeting pack tests (#23045)

* Add test for assembly versions

* Add test for framework list

* Add some hardcoded lists for sharedfx and targeting pack content

* Fix failing tests

* Fix targeting pack tests

* Feedback
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-platform Deprecated: Cross-cutting issues related to ASP.NET Core as a platform
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants