openresty / test-nginx

Data-driven test scaffold for Nginx C module and OpenResty Lua library development
http://search.cpan.org/dist/Test-Nginx
440 stars 106 forks source link

Using `openresty` instead of `nginx` #92

Closed ktalebian closed 5 years ago

ktalebian commented 5 years ago

When running use Test::Nginx::Socket, it uses nginx to start the server. However, on this computer, nginx is pure nginx without the openResty platform. I need it to use openresty instead of nginx.

How can I do that?

ktalebian commented 5 years ago

Found the answer as soon as I opened this question

TEST_NGINX_BINARY=openresty prove t/test.t