Skip to content

Conversation

@agocke
Copy link
Member

@agocke agocke commented Nov 11, 2021

Moves away from generating Theory cases for each method in the file and
uses one Fact per test file.

Moves away from generating Theory cases for each method in the file and
uses one Fact per test file.
@agocke agocke requested a review from marek-safar as a code owner November 11, 2021 19:53

[Theory]
[MemberData (nameof (TestCaseUtils.GetTestData), parameters: nameof (Interop))]
public void Interop (string m)
Copy link
Member

Choose a reason for hiding this comment

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

I don't think we want to remove the interop tests, do we? Also these are an exception to normal directory structure - the testcases are defined in nested directories so we should make sure that still works.

Copy link
Member

@vitek-karas vitek-karas left a comment

Choose a reason for hiding this comment

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

The Interop tests should be kept. Otherwise looks good.

@agocke agocke merged commit f2dd65f into dotnet:main Nov 13, 2021
@agocke agocke deleted the file-based-tests branch November 13, 2021 00:30
agocke added a commit to agocke/linker that referenced this pull request Nov 16, 2021
Backports the file-based testing to release/6.0.2xx
agocke added a commit that referenced this pull request Nov 17, 2021
Backports the file-based testing to release/6.0.2xx
agocke added a commit to dotnet/runtime that referenced this pull request Nov 16, 2022
Move analyzer tests to one test per file

Commit migrated from dotnet/linker@f2dd65f
agocke added a commit to dotnet/runtime that referenced this pull request Nov 16, 2022
Backports the file-based testing to release/6.0.2xx

Commit migrated from dotnet/linker@8e8c6c7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants