Skip to content

Conversation

@elinor-fung
Copy link
Member

@elinor-fung elinor-fung commented Mar 15, 2023

These were testing using --depsfile to point at a .deps.json in a different location. They would built/run an actual app with a dependency on Newtonsoft.Json and check that dependency could/could not be found. We really just care how a dependency is resolved based on the passed deps.json, so the tests can be switched to use our mock coreclr (and avoid issues like we hit in #82599 (comment))

This removes one of the pieces we have that had the host test assets using Newtonsoft.Json. I think the remaining ones are the --additionalprobingpath tests (should be moveable to mock coreclr) and startup hook tests (can use a different dependency or be moved to runtime tests).

@elinor-fung elinor-fung added test-enhancement Improvements of test source code area-Host labels Mar 15, 2023
@elinor-fung elinor-fung requested a review from vitek-karas March 15, 2023 03:48
@ghost ghost assigned elinor-fung Mar 15, 2023
@ghost
Copy link

ghost commented Mar 15, 2023

Tagging subscribers to this area: @vitek-karas, @agocke, @VSadov
See info in area-owners.md if you want to be subscribed.

Issue Details

These were testing using --depsfile to point at a .deps.json in a different location. They would built/run an actual app with a dependency on Newtonsoft.Json and check that dependency could/could not be found. We really just care how a dependency is resolved based on the passed deps.json, so the tests can be switched to use our mock coreclr.

This removes one of the pieces we have that had the host test assets using Newtonsoft.Json. I think the remaining ones are the --additionalprobingpath tests (should be moveable to mock coreclr) and startup hook tests (can use a different dependency or be moved to runtime tests).

Author: elinor-fung
Assignees: -
Labels:

test-enhancement, area-Host

Milestone: -

@elinor-fung elinor-fung merged commit c13efe0 into dotnet:main Mar 15, 2023
@elinor-fung elinor-fung deleted the depsFileTests branch March 15, 2023 18:21
@ghost ghost locked as resolved and limited conversation to collaborators Apr 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-Host test-enhancement Improvements of test source code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants