Introduction Recently, I was assigned to reduce technical debt in an existing project. One of the keys highlighted technical debt is how low the code coverage is. Therefore, our priority is to increase code coverage […]
Part 2 of 2 articles to unit test Kafka Streams application. In the second part, I talk about testing Processor API by using MockProcessorContext as well as how to test Processor Scheduler with two types of Punctuator: STREAM_TIME and WALL_CLOCK.
This is part 1 of 2 articles to unit test Kafka Streams application. The first part talks about testing DSL transformation, stateless and stateful, including joining and windowing.
Whenever you deliver your code, you must deliver it with quality.
Whenever you write a code, you have to write unit test as well. Because code represents your power and unit test represents your responsibility.