I have follow tutorials (https://docs.konghq.com/install/source/) compile kong.
compiling OpenResty use the following compilation options:
$ ./configure \
--with-pcre-jit \
--with-http_ssl_module \
--with-http_realip_module \
--with-http_stub_status_module \
--with-http_v2_module
but with many errors whit running bin/busted
:
Error → ./spec/helpers.lua @ 45
suite spec/03-plugins/05-syslog/01-log_spec.lua
./spec/helpers.lua:45: could not find OpenResty 'nginx' executable. Kong requires version 1.13.6.2
And I Recompiling with following options from this page: https://github.com/Kong/kong/issues/2399
./configure \
--with-http_stub_status_module \
--with-http_v2_module \
--with-http_ssl_module \
--without-luajit-lua52
Can teach a simple tutorial on how to do unit testing?