-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Move tests from full facade assemblies into type forward destination #89230
Comments
Tagging subscribers to this area: @dotnet/area-meta Issue Details#89184 moved full façade assemblies into src/libraries/shims but left the tests in their original location. This issue tracks moving the tests into the type forward destination (in most cases System.Runtime):
|
Is there an easy version of this that just moves the projects into subdirectories in System.Runtime\tests but doesn't do any project refactoring? |
Tagging subscribers to this area: @dotnet/area-system-runtime Issue Details#89184 moved full façade assemblies into src/libraries/shims but left the tests in their original location. This issue tracks moving the tests into the type forward destination (in most cases System.Runtime):
|
What do you mean by project refactoring? I would hope that moving the test sources doesn't need any major msbuild work. As an example, moving |
I meant we could simply move the project files as is - giving a test folder with the same name as the test project - rather than trying to combine the sources with the existing System.Runtime.Tests.csproj. |
WASM is running into some implementation limitations in System.Text.Json test because they're too huge (#87078). If most of these are going to and up in System.Runtime.Tests, we might run into same impl limitations (I'm not clear what they are - just pointing to an issue that has them, with people that might understand more). |
Oh I see. I should have clarified in the top post. I think it would be best to move the tests as is, including their project files and not attempt to merge the test sources into the existing test projects. Libraries' tests.proj disables test projects based on configurations (mobile vs NativeAOT vs wasm, ...). If one of these test projects is already disabled and we would now merge the test source code into an existing test project, those tests would need to be disabled inside the assembly. |
Fixes #89230 A previous changed moved full facade assemblies into src/libraries/shims but the tests were left in their original location. 1. Move System.Data.DataSetExtensions/tests into System.Data.Common/tests and all other test projects under System.Runtime/tests. 2. Update the tests.proj file that excludes based on the test project file paths. 3. Delete System.AppContext/tests which already existed (as a copy) under System.Runtime/tests. 4. Update System.Runtime.sln and System.Data.Common.sln 5. Delete README.md files that are now unused and not required anymore.
Fixes #89230 A previous changed moved full facade assemblies into src/libraries/shims but the tests were left in their original location. 1. Move System.Data.DataSetExtensions/tests into System.Data.Common/tests and all other test projects under System.Runtime/tests. 2. Update the tests.proj file that excludes based on the test project file paths. 3. Delete System.AppContext/tests which already existed (as a copy) under System.Runtime/tests. 4. Update System.Runtime.sln and System.Data.Common.sln 5. Delete README.md files that are now unused and not required anymore.
Fixes #89230 A previous changed moved full facade assemblies into src/libraries/shims but the tests were left in their original location. 1. Move System.Data.DataSetExtensions/tests into System.Data.Common/tests and all other test projects under System.Runtime/tests. 2. Update the tests.proj file that excludes based on the test project file paths. 3. Delete System.AppContext/tests which already existed (as a copy) under System.Runtime/tests. 4. Update System.Runtime.sln and System.Data.Common.sln 5. Delete README.md files that are now unused and not required anymore.
#89184 moved full façade assemblies into src/libraries/shims but left the tests in their original location. This issue tracks moving the tests and their test projects into the type forward destination (in most cases System.Runtime/tests/):
The text was updated successfully, but these errors were encountered: