Registry / testing / reactive-streams-tck

reactive-streams-tck

JSON →
library1.0.4javamavenunverified

Technology Compatibility Kit for testing Reactive Streams implementations.

<dependency> <groupId>org.reactivestreams</groupId> <artifactId>reactive-streams-tck</artifactId> <version>1.0.4</version> </dependency>
INSTALL
IMPORT
SIG · REACTIVE-STREAMS-T
R
reactive-streams-tck
testingjavav1.0.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

PublisherVerification
✓ org.reactivestreams.tck.PublisherVerification

Test a Publisher implementation for Reactive Streams compliance.

import org.reactivestreams.tck.PublisherVerification; import org.reactivestreams.Publisher; public class MyPublisherTest extends PublisherVerification<Integer> { public MyPublisherTest() { super(new TestEnvironment()); } @Override public Publisher<Integer> createPublisher(long elements) { return subscriber -> { for (int i = 0; i < elements; i++) subscriber.onNext(i); subscriber.onComplete(); }; } @Override public Publisher<Integer> createFailedPublisher() { return subscriber -> subscriber.onError(new RuntimeException("fail")); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.4latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
reactive-streams-tck — mvn dependency:get reactive-streams-tck · libregistry