zerocode icon indicating copy to clipboard operation
zerocode copied to clipboard

[Question] - select api testing vs regression testing

Open aghorpade opened this issue 5 years ago • 2 comments

We have below requirement and would like to know if it can be satisfied if we go for zerocode

we have almost mulesoft api's and we develope/change api code at indivisual api level. When we change code for one api then that API level test cases must be run when code gets deployed on dev environment. Once indivisual api development is done, we need to push code into SIT, so once all API's code pushed into SIT, Regression pack must be ran to make sure all API's are working as per expectation.

Is this achievable and if yes then how?

aghorpade avatar Jul 31 '20 13:07 aghorpade

@aghorpade , it's very much achievable and it's very easy. Infact that's an efficient CI pipeline design(one of the best practices).

  1. Before getting into "how", can you shed some light how your micro-services are set up, meaning... How your APIs are created... is it just by a single Mule project/repo or multiple Mule projects across more than one team ?

  2. Are you also planning to hit the Mule Gateway in your SIT build? (I am assuming you will not deal with the Gateway in your Dev env)

  3. Are you using Jenkins or a managed CI or anything Mule specific?

  4. You can kindly put here a basic block diagram which will make everyone understand the approach or we can have a quick chat around it over a web-meeting?

authorjapps avatar Aug 01 '20 08:08 authorjapps

@authorjapps - please find below answers

@aghorpade , it's very much achievable and it's very easy. Infact that's an efficient CI pipeline design(one of the best practices).

  1. Before getting into "how", can you shed some light how your micro-services are set up, meaning... How your APIs are created... is it just by a single Mule project/repo or multiple Mule projects across more than one team ?
  • we develop multiple api's separately and in parallel . One project is one api.
  1. Are you also planning to hit the Mule Gateway in your SIT build?
  • all api's are on same deployed on one gateway so host is same for all api's. Base path gets changed as par api.

(I am assuming you will not deal with the Gateway in your Dev env)

  • SIT and Dev have same structure
  1. Are you using Jenkins or a managed CI or anything Mule specific?
  • we are using Jenkins CI-CD pipeline
  1. You can kindly put here a basic block diagram which will make everyone understand the approach or we can have a quick chat around it over a web-meeting? _
  • i hope you got details but still if you need more details. then lets connect

aghorpade avatar Aug 08 '20 20:08 aghorpade