-
Notifications
You must be signed in to change notification settings - Fork 804
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
[WIP] FSharpQA tests migration to xUnit suite - Part 1/? #10415
Conversation
@@ -58,7 +204,4 @@ | |||
<ProjectReference Include="$(FSharpTestsRoot)\FSharp.Test.Utilities\FSharp.Test.Utilities.fsproj" /> |
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.
These tests can directly use FSharp.Compiler.Service.fsproj, and the test project can be included in FSharp.Compiler.Service.sln if not there already
@@ -19,9 +19,10 @@ | |||
</ItemGroup> |
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.
These tests can run just on netcoreapp3.1
. We have enough coverage on net472
through visual studio tests and other test/fsharp
tests
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.
@dsyme This is the fsharpqa suite. For sure they run on desktop, if we can't make them run net472 then we are doing something wrong.
I've significantly reduced tests migrated to the xunit - only test which don't require running or IL comparisons. Migraing them in smaller batches makes troubleshooting so much easier. |
)" This reverts commit 67b936f.
…net#10415)" This reverts commit 67b936f.
* [WIP] F#QA tests (semi-)auto migration. * More IL cleanup in checker * Removed already migrated tests * Fixed some lst files format * Component tests fsproj changes * Component tests fsproj changes * Moved test file according to its name in the env list * Moved test file according to its name in the env list * Moved test file according to its name in the env list * Moved test file according to its name in the env list * Moved test file according to its name in the env list * Moved test file according to its name in the env list * Moved test file according to its name in the env list * Added 'Include' support for DirectoryAttribute * Added a bunch of functions asserting diagnostics and run ouput against pattern * Fix a bunch of F#QA tests (Expect -> Expects) * Fix a bunch of F#QA tests (file name typos) * Fix a bunch of F#QA tests (file name typos) * Fix a bunch of F#QA tests (removed missing tests from env.lst) * Added singleline regex option when matchin stderr/stdout * Don't check overall issues count when just comparing code * Removed some non-needed functionality from test fwk * Fixed F#QA test name according to env.lst * Builds + most of the tests passing * Added 'times' tests * Revert test changes * added asFsx helper * Added helper functions to Compiler testing framework * Revert test changes * Compiler testing helper functions * Reduced migrated tests to only tests we compile (don't run or compare IL) * Added missing 'times' tests * Fixed a regex for IL cleanup
…net#10415)" This reverts commit 67b936f.
This is a (semi-)automatic migration of F#QA tests to xUnit suite.
This PR is migrating only small fraction of simpler tests, which do not require running, IL comparison, or linking other libs - to test the migration script.
After this one is passing, I will start migrating other batches.