-
Notifications
You must be signed in to change notification settings - Fork 128
Move analyzer tests to one test per file #2362
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
Conversation
Moves away from generating Theory cases for each method in the file and uses one Fact per test file.
|
|
||
| [Theory] | ||
| [MemberData (nameof (TestCaseUtils.GetTestData), parameters: nameof (Interop))] | ||
| public void Interop (string m) |
There was a problem hiding this comment.
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.
vitek-karas
left a comment
There was a problem hiding this 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.
Backports the file-based testing to release/6.0.2xx
Move analyzer tests to one test per file Commit migrated from dotnet/linker@f2dd65f
Backports the file-based testing to release/6.0.2xx Commit migrated from dotnet/linker@8e8c6c7
Moves away from generating Theory cases for each method in the file and
uses one Fact per test file.