envoy-apisix
envoy-apisix copied to clipboard
ci: run the test case
we need to do this asap
@nic-chen
@membphis @tokers @spacewander
I wrote a simple version, but gave up.
We need to choose a test framework. I plan to use ginkgo for it as well. What do you think?
ginkgo
seems a better way
I prefer to write one with py.test...
It would be more simple to write python code.
There is some limitation with a test framework written in Go, for example: Go doesn't support HTTP 1.0 while envoy supports it.
I prefer to use Go.
In CNCF, Go is more popular.
Yes, it is easier to use Python. The only problem is that there will be one more language, and Go is used in several projects in the APISIX community, .
I wrote a test framework with Go before. It is not a good idea to choose a static language. It's not so efficient to satisfy the target. And there is some issues with Go itself, for example, no HTTP 1.0 support.
BTW, we already use perl/shell/Makefile code in the APISIX.
for example, no HTTP 1.0 support.
If we need to test it, we can use the TCP way for some simple cases. I think this is fine.
BTW, we already use perl/shell/Makefile code in the APISIX.
If possible, I want to avoid using "perl" :(
BTW, I found another open-source gateway project gloo, Test cases are written in Golang: https://github.com/solo-io/gloo/tree/master/test/e2e