top of page

Automated 100 % test coverage

  • Writer: Anand Nerurkar
    Anand Nerurkar
  • Oct 24, 2024
  • 1 min read

We need to perform test covearage as a part of quality check for your artifacts - code so that we are sure that we are covering each scenario.


Creating test cases manually is time comsuming process and it may take more time that development, hence it impact developers productivity. To solve this issue , we can make use of plugin diffBlue to generate automated test cases for your code.


Here we will take below example where we have controller,service and repository layer and will cover test coverage for the same.


Assumption- IDE have difffblue plugin installed.


ree

select controller package , select write test, will genearate test case for controller.


once test cases are written , you can see 100 % line coverage.

ree


 
 
 

Recent Posts

See All
why springbatch job??

Spring Batch Job Spring Batch is designed exactly for batch workloads  like Pro*C migrations. ✅ Advantages: Chunk-oriented processing...

 
 
 
Pro*c Job to Spring Batch Job

Example1: 📌 Background Pro*C job  → Written in C with embedded SQL, often used for batch ETL-like jobs in Oracle. Spring Batch job  →...

 
 
 

Comments

Rated 0 out of 5 stars.
No ratings yet

Add a rating
  • Facebook
  • Twitter
  • LinkedIn

©2024 by AeeroTech. Proudly created with Wix.com

bottom of page