Testing the code is a controversial topic. Developers are often found on 2 sides of this philosophical debate. One side advocates that end-to-end test cases suffice and the other is obsessed with writing in-detail unit tests.
One of famous analogy used to show end to end test cases are better:
It’s true that effort vs reward makes no sense when it comes to writing unit tests.
Yet, here are 4 reasons unit tests are equally important:
In my 12 years of professional career, I realized that developers avoid writing unit tests for one reason: it takes time to write them! This slows down the pace of development, and the time to launch the product in the market. But not writing unit tests, has long term consequences.
With 6 months coding marathon, we are happy to finally launch Unlogged.
It’s an IntelliJ plugin that adds our java agent to your existing run config. You can run the code with the unlogged’s agent, hit your APIs, and start generating unit tests in minutes.
We aim to help developers save time in writing unit tests.