lundi 24 août 2020

Jar execution from a different Java project

I have a jar file generated from a Java spring boot java program(Project A) and im creating some tests in a sequence in another project (Project B), and in one of the step i have to trigger the java project (Project A) jar file in my testing process. Could someone help me how to perform Jar execution from my project framework.

Eg:

@Test1 --perform data setup in database --do some assertions

@Test2 Trigger the Jar file from Project A and once job finishes successfuly, do the assertion in database for job status change as part of Jar execution .. ..

Aucun commentaire:

Enregistrer un commentaire