-
Notifications
You must be signed in to change notification settings - Fork 789
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
FSharpQA tests migration to xUnit suite - Part 1/? #10669
Conversation
Added some helper functions to test framework.
Is there any automatic way to update all IL baselines after a change that affects multiple ones? Currently I use
|
Good question, I don't think it's currently easily possible in the new framework. You can delete baseline files, and they will be re-generated, however with different extension. |
I don't automatically do it, so that I can at least eyeball the changes. |
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 only thing I don't really like is the source being in external files, however, this way is probably much better in practice.
* Fixed a bunch of lst files (fixed Expect -> Expects), casing. Added some helper functions to test framework. * Fxied missing imports in test framework * Fixed double quotes around compiler flags in lst file * Fixed double quotes around compiler flags in lst file * Migrated a bunch of fsharpqa tests, simpler ones, which do not require run, il * Removed already migrated tests from fsharpqa env.lst * Fix some post-migration issues * Reverted back some fsharpqa changes
This is a (semi-)automatic migration of F#QA tests to xUnit suite.
This is pretty much second try of #10415, in previous one, remaining fshsarpqa tests weren't discovered by runner. In this PR, we don't modify tests.lst much.
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.