weldr icon indicating copy to clipboard operation
weldr copied to clipboard

Add integration tests

Open yanns opened this issue 8 years ago • 2 comments

We should test the proxy as a black box.

Example of test:

  • start the proxy with 2 backends
  • kill one of the backend
  • during all the process, checks that all requests to the proxy are successful

Another example of test:

  • start the proxy with 1 backend
  • add one backend with the REST API
  • remove the first backend with the REST API
  • during all the process, checks that all requests to the proxy are successful

Implementation: we could implement those tests with docker containers

yanns avatar Feb 21 '17 20:02 yanns

@yanns For this, my plan is to first get the possibility to run multiple test-servers. Ofc this is also helpful for the users to test this. Let me know how do you feel about this?

maniankara avatar Apr 09 '17 13:04 maniankara

@maniankara OK with that. We can also simply use docker images on nginx that always return 200

yanns avatar Apr 10 '17 07:04 yanns