-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Re-enable Akka.Streams.Tests.TCK NUnit tests #4548
Re-enable Akka.Streams.Tests.TCK NUnit tests #4548
Conversation
|
<PackageReference Include="Reactive.Streams.TCK" Version="1.0.2" /> | ||
<PackageReference Include="NUnit" Version="3.12.0" /> | ||
<!-- !!!WARNING!!! ALWAYS MATCH NUNIT VERSION WITH THE VERSION USED BY REACTIVE TCK !!!WARNING!!! --> | ||
<PackageReference Include="NUnit" Version="3.7.1" /> |
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.
If we don't explicitly include an NUnit
reference here, we'll take whatever NUnit
version is used by Reactive.Streams.TCK
as a transitive dependency. So maybe the safest way to handle this is to not explicitly specify an NUnit dependency at all? What do you think?
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.
Good idea, I'll do a quick check and update.
Is there a way via |
No idea, I forgot about the trx part, let me check... |
The test assembly was set to |
@Arkatufus the tests ran fine on .NET Framework, but looks like they never ran at all on .NET Core for either Windows or Linux |
Yes, I removed .NET core from TargetFrameworks because |
<!-- !!!WARNING!!! | ||
NUNIT VERSION HAVE TO MATCH WITH THE VERSION USED BY REACTIVE TCK. | ||
!!!WARNING!!! --> | ||
<PackageReference Include="NUnit" Version="3.7.1" Condition="'$(TargetFramework)' == '$(NetCoreTestVersion)'"/> |
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 need to add this back in, because .NET Core could not use the NUnit package referenced inside the TCK package
nice work @Arkatufus |
Some of the Pub-Sub part of
Akka.Streams
do not have their own standalone spec/unit tests and rely on Reactive.Streams.TCK for testing instead.I'm re-enabling NUnit because this is quite dangerous.
NOTE:
Reactive.Streams.TCK
only supportsNUnit
up to 3.9-ish because it relies on specific code behavior inside NUnit. Above a certain version, NUnit is not binary compatible withReactive.Streams.TCK
anymore.DO NOT UPDATE THE NUNIT PACKAGE VERSION, UNLESS THIS HAS BEEN RESOLVED BY THE TCK DEVS