Skip to content

Conversation

@Arkatufus
Copy link

@Arkatufus Arkatufus commented Aug 21, 2020

Related to #45

  • Port NUnit to Xunit
  • Update build framework target from net45 to net452 and netstandard2.0

@Aaronontheweb
Copy link

Did you get a chance to see this comment by @marcpiechura from last year?

#46 (comment)

@Arkatufus
Copy link
Author

Yes, that is possible to do in Xunit now

<ItemGroup>
<PackageReference Include="NUnit" Version="3.7.1" />
<PackageReference Include="xunit" Version="2.4.1" />
<PackageReference Include="Xunit.SkippableFact" Version="1.4.13" />
Copy link
Author

@Arkatufus Arkatufus Aug 21, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a small helper package that lets us skip Xunit tests programatically by throwing SkipException

var element = default(T);
if(element != null)
throw new IgnoreException("Can't verify behavior for value types");
throw new SkipException("Can't verify behavior for value types");
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IgnoreException is replaced with SkipException


namespace Reactive.Streams.TCK.Support
{
public static class TckAssert
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This static class is added to add Assert.Ignore (renamed to Skip) and Assert.Fail convenience static methods

Arkatufus and others added 16 commits August 22, 2020 00:37
# Conflicts:
#	src/examples/Reactive.Streams.Example.Unicast.Tests/SyncSubscriberTest.cs
#	src/examples/Reactive.Streams.Example.Unicast.Tests/SyncSubscriberWhiteboxTest.cs
#	src/tck/Reactive.Streams.TCK.Tests/EmptyLazyPublisherTest.cs
#	src/tck/Reactive.Streams.TCK.Tests/IdentityProcessorVerificationTest.cs
#	src/tck/Reactive.Streams.TCK.Tests/RangePublisherTest.cs
#	src/tck/Reactive.Streams.TCK.Tests/SingleElementPublisherTest.cs
#	src/tck/Reactive.Streams.TCK.Tests/SubscriberBlackboxVerificationTest.cs
#	src/tck/Reactive.Streams.TCK.Tests/Support/TCKVerificationSupport.cs
#	src/tck/Reactive.Streams.TCK.Tests/SyncTriggeredDemandSubscriberTest.cs
#	src/tck/Reactive.Streams.TCK.Tests/SyncTriggeredDemandSubscriberWhiteboxTest.cs
Signed-off-by: Gregorius Soedharmo <arkatufus@yahoo.com>
Signed-off-by: Gregorius Soedharmo <arkatufus@yahoo.com>
…`TckAssert.Fail`

Signed-off-by: Gregorius Soedharmo <arkatufus@yahoo.com>
Signed-off-by: Gregorius Soedharmo <arkatufus@yahoo.com>
Signed-off-by: Gregorius Soedharmo <arkatufus@yahoo.com>
Signed-off-by: Gregorius Soedharmo <arkatufus@yahoo.com>
Signed-off-by: Gregorius Soedharmo <arkatufus@yahoo.com>
Signed-off-by: Gregorius Soedharmo <arkatufus@yahoo.com>
Signed-off-by: Gregorius Soedharmo <arkatufus@yahoo.com>
Signed-off-by: Gregorius Soedharmo <arkatufus@yahoo.com>
Signed-off-by: Gregorius Soedharmo <arkatufus@yahoo.com>
Signed-off-by: Gregorius Soedharmo <arkatufus@yahoo.com>
Signed-off-by: Gregorius Soedharmo <arkatufus@yahoo.com>
akarnokd and others added 29 commits May 18, 2021 00:11
Signed-off-by: Gregorius Soedharmo <arkatufus@yahoo.com>
Signed-off-by: Gregorius Soedharmo <arkatufus@yahoo.com>
Signed-off-by: Gregorius Soedharmo <arkatufus@yahoo.com>
Signed-off-by: Gregorius Soedharmo <arkatufus@yahoo.com>
Signed-off-by: Gregorius Soedharmo <arkatufus@yahoo.com>
Signed-off-by: Gregorius Soedharmo <arkatufus@yahoo.com>
Signed-off-by: Gregorius Soedharmo <arkatufus@yahoo.com>
Subscritpion to Subscription

Signed-off-by: Gregorius Soedharmo <arkatufus@yahoo.com>
* added xml documentation

* Updated NUnit runner

Signed-off-by: Gregorius Soedharmo <arkatufus@yahoo.com>
Signed-off-by: Gregorius Soedharmo <arkatufus@yahoo.com>
Signed-off-by: Gregorius Soedharmo <arkatufus@yahoo.com>
Signed-off-by: Gregorius Soedharmo <arkatufus@yahoo.com>
Signed-off-by: Gregorius Soedharmo <arkatufus@yahoo.com>
…`TckAssert.Fail`

Signed-off-by: Gregorius Soedharmo <arkatufus@yahoo.com>
Signed-off-by: Gregorius Soedharmo <arkatufus@yahoo.com>
Signed-off-by: Gregorius Soedharmo <arkatufus@yahoo.com>
Signed-off-by: Gregorius Soedharmo <arkatufus@yahoo.com>
Signed-off-by: Gregorius Soedharmo <arkatufus@yahoo.com>
Signed-off-by: Gregorius Soedharmo <arkatufus@yahoo.com>
Signed-off-by: Gregorius Soedharmo <arkatufus@yahoo.com>
Signed-off-by: Gregorius Soedharmo <arkatufus@yahoo.com>
Signed-off-by: Gregorius Soedharmo <arkatufus@yahoo.com>
Signed-off-by: Gregorius Soedharmo <arkatufus@yahoo.com>
Signed-off-by: Gregorius Soedharmo <arkatufus@yahoo.com>
…et461, update nuget package versions

Author:    Gregorius Soedharmo <arkatufus@yahoo.com>
Signed-off-by: Gregorius Soedharmo <arkatufus@yahoo.com>
Signed-off-by: Gregorius Soedharmo <arkatufus@yahoo.com>
@Arkatufus Arkatufus closed this by deleting the head repository May 23, 2024
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.

8 participants