keploy / keploy

Test generation for Developers. Generate tests and stubs for your application that actually work!
https://keploy.io
Apache License 2.0
3.37k stars 374 forks source link

feat: discuss the user experience of contract testing. #1861

Closed gouravkrosx closed 1 week ago

gouravkrosx commented 1 week ago
gouravkrosx commented 1 week ago

Two approaches were discussed;

  1. For each microservice there will be a keploy instance running, the tests and mocks will be saved for these services separately, basically the default behavior of keploy can be used to record tests and mocks.
  2. Keploy will take all the running commands of the microservices and will be running these concepts, with the help of appId and process groups, we can identify different services and save their tests and mocks. Config file will also be changed or a new one will be added to keploy to incorporate all the configurations in a single file just as docker-compose works. All the logs of these microservices can be separated using colorful logs.

We were more inclined toward the second approach, The test mode should now be explored to start implementing this feature. As this is a GsOC task, the technical feasibility of this task is given to the GsOC student.