Reply
Member
Posts: 1
Registered: ‎01-04-2021

Best practices for automated integration tests

Hello. I have a bunch of services and some of them are state-full. So I`m looking for best practice how to test it in CI.

For example I need to run a whole services setup, test it as a black box, kill some services, test again and run those services again without losing state, and, ofc, test again.

So Is there some examples of same approach ? I know I could use bash-scrips and just call docker cmd, but i believe there are better ways. Right now I thinking about DroneCI is it able to do what I want ?

Also, I am using K6io for API testing, but may its better to use python scripts ? I use k6 because already have a few scripts for it and k6 provides easy way for testing simultaneous connections.