官术网_书友最值得收藏!

Reactive Streams TCK

Implementing the interfaces defined in Reactive Streams specification is not just suffice to build Reactive Streams. The specification comprises a set of components and rules. The components part is taken care of with four interfaces we discussed, while the rules are defined by Reactive Streams Technology Compatibility Kit (TCK).

The Reactive Streams TCK is a guideline to Reactive Streams implementors to verify their implementations against the rules defined in the specifications. The TCK is developed with a testing framework in Java called TestNG and can be used in other JVM-based programming languages, like Kotlin and Scala. 

TCK covers most of the rules, but not all, defined in the specification because for some of the rules, it is not possible to construct automated test cases. So theoretically, it can't be verified fully against the specification; however, it is helpful to validate most of the important rules.

TCK comprises four TestNG test classes and contains test cases, which can be extended by implementers and provide their implementation of Publisher, Subscriber, Subscription, and Processor to validate against the specification rules. You can get it in further detail from the link: https://github.com/reactive-streams/reactive-streams-jvm/tree/master/tck.

主站蜘蛛池模板: 维西| 鞍山市| 沭阳县| 大同市| 信阳市| 元江| 勐海县| 关岭| 阜南县| 阿拉尔市| 乐陵市| 红安县| 泸州市| 新化县| 双鸭山市| 临西县| 宁津县| 宜章县| 伊春市| 望都县| 堆龙德庆县| 台南县| 栾川县| 密云县| 四会市| 日喀则市| 全南县| 荔浦县| 兴隆县| 揭阳市| 南开区| 乐清市| 中山市| 民乐县| 克东县| 唐河县| 龙山县| 化州市| 三原县| 靖远县| 碌曲县|