Hi all, when reading ‘Kafka Streams in Action’ I especially enjoyed the thoughtful treatment of mocking, unit, and integration tests. Integration testing in the book (and in the Kafka codebase) is done using the @ClassRule-annotated EmbeddedKafkaCluster. JUnit 5 Jupiter replaced Rules with a different extension model. So my proposal would be to support a JUnit 5 Extension in addition to the JUnit 4 Rule for EmbeddedKafkaCluster to enable ’native’ integration in JUnit 5-based projects. Being a committer with the JUnit 5 team I would be happy to contribute a PR for such an extension. Please let me know if you are interested. Cheers, Matthias
Matthias Merdes Senior Software Architect [cid:image001.png@01D5618F.B97F6850] heidelpay GmbH Vangerowstraße 18 69115 Heidelberg ------------------------------------------------------------- +49 6221 6471-692 matthias.mer...@heidelpay.com -------------------------------------------------------------- [cid:image002.png@01D5618F.B97F6850] [cid:image003.png@01D5618F.B97F6850] [cid:image004.png@01D5618F.B97F6850] [cid:image005.png@01D5618F.B97F6850] Geschäftsführer: Dipl. Vw. Mirko Hüllemann, Tamara Huber, André Munk, Georg Schardt Registergericht: AG Mannheim, HRB 337681