MDC with WebClient in WebMVC
Update on this post - (Mar 30,2023)
Executable Jar for Integration Test
Recently, I wrote an integration test infrastructure at work.
Since integration test is different from simple unittests, we made our integration tests to be an executable jar.
In this blog post, I’d like to write about why we made executable jar and some of the considerations to achieve it.
Programmatically run JUnit in Parallel
To speed up running tests, parallel execution is commonly used strategy. When programmatically runnning JUnit tests via
JunitCore, the code have to incorporate with the parallel execution logic as well.
Hamcrest Sugar Generation no longer available
Recently, I’ve been writing many Hamcrest custom matchers for datasource-proxy. (see my previous post - datasource-proxy 1.4: focusing on JDBC test)
datasource-proxy 1.4: focusing on JDBC test
Next release of datasource-proxy(v1.4), I am focusing on the aspect of unit testing in JDBC operations.
Generate JUnit XML report from JUnitCore
JUnitCoreclass allows you to run junit tests programmatically. However, generating JUnit XML reports is not provided out of the box. Those reports are usually used by CI such as Jenkins.
Starting new blog
subscribe via RSS