Skip to content
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

Moved fsharpqa/Libraries/Core/NativeInterop/stackalloc test cases to NUnit #9521

Merged
merged 11 commits into from
Jun 22, 2020

Conversation

ThorstenReichert
Copy link
Contributor

Contributes to #7075.

Small note, there is one test case left in that folder which I was not able to move to NUnit: it is essentially testing that stackalloc<T> -1 throws a StackOverflowException. Of course, that exception will then crash the test-runner...

Any idea on how to circumvent this issue? We could spin up a separate process to run the code snippet, but I'm not entirely sure it's worth the effort... (cc @vzarytovskii).

@vzarytovskii
Copy link
Member

mall note, there is one test case left in that folder which I was not able to move to NUnit: it is essentially testing that stackalloc<T> -1 throws a StackOverflowException. Of course, that exception will then crash the test-runner...

Any idea on how to circumvent this issue? We could spin up a separate process to run the code snippet, but I'm not entirely sure it's worth the effort... (cc @vzarytovskii).

I guess we can move this case fro our "component" tests, like we have new compiler tests now, which are spawning a separate process.
I will take care of it.

@KevinRansom KevinRansom merged commit be673e8 into dotnet:master Jun 22, 2020
@ThorstenReichert ThorstenReichert deleted the MigrateFsharpQA2 branch June 23, 2020 05:45
nosami pushed a commit to xamarin/visualfsharp that referenced this pull request Feb 23, 2021
…NUnit (dotnet#9521)

* Migrated zerosize01.fs test case

* Migrated ofint6401.fs test case

* Migrated ofint01.fs test case

* Cleanup asserts

* Migrated ofDateTime01.fs test case

* Migrated constraint01.fs test case

* Migrated E_constraint02.fs test case

* Migrated E_constraint03.fs test case

* Migrated ofenum01.fs test case

* Reordered tests

* Removed obsolete directory
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.

4 participants