One of the projects reads from DB and writes to another DB.
The other project reads from DB and writes to a file.
The other reads from File and writes to DB.
How can we apply the end-to-end integration test to these projects?
How can we run this test in the pipeline?
Thank you.
How can we apply the end-to-end integration test to these projects?
The End-To-End Testing of Batch Jobs section from the reference documentation explains that in details and with code examples. You can end-to-end test your job by:
There is a similar question/answer that I will add here for reference: Understanding JobLauncherTestUtils
How can we run this test in the pipeline?
The Creating a Unit Test Class section shows how to create a unit/integration test class which you can run as part of the test phase of your build pipeline.