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 […]
Tag: unittest
How to Unit Test Kafka Streams Application – PART 2 (Processor API)
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.
How to Unit Test Kafka Streams Application – PART 1 (DSL)
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.
How to Unit Test and Mock a Function in Go
Deliver Software Faster by Writing Unit Test
Whenever you write a code, you have to write unit test as well. Because code represents your power and unit test represents your responsibility.