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

  • Spring 5.0 Projects
  • Nilang Patel
  • 196字
  • 2021-07-02 12:35:02

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.

主站蜘蛛池模板: 西平县| 彭州市| 石城县| 桂平市| 嵊泗县| 前郭尔| 凤凰县| 万全县| 岗巴县| 上饶市| 岗巴县| 元江| 开封县| 阿瓦提县| 凤台县| 康马县| 重庆市| 喀喇沁旗| 新兴县| 桓仁| 大庆市| 平和县| 礼泉县| 木兰县| 东港市| 梅河口市| 城固县| 山阳县| 青海省| 麻阳| 马关县| 讷河市| 呼玛县| 石河子市| 华蓥市| 安吉县| 社旗县| 儋州市| 商南县| 凤凰县| 石阡县|