test-nginx
test-nginx copied to clipboard
Data-driven test scaffold for Nginx C module and OpenResty Lua library development
Suppose I have a block look like this: ``` === TEST 2: test init --- init my $file = glob('compose.txt') ; my @cmd = ("docker", "compose", "-f", $file, "ps") ;...
While there has been developments on the master branch of this repository, the CPAN release is out of date and does not have utility functions like `use_hup()`. Please release a...
Fixes #69.
Hello: we can use this func to do something like `init some data into mysql` before test blocks Signed-off-by: hongliang
Linux distributions build nginx with options like `--http-client-body-temp-path=` to set default location of directories for temporary files under /var/tmp/nginx or /var/lib/nginx. The problem is, when running tests as part of...
output_files output_files_like output_files_unlike pre_remove_files files_exist files_not_exist
I patch a bit for supporting windows OS run testing. - use dos command `START /B`, `nginx.exe -s stop`, `TASKKILL`, and `wmic` to manipulate processes. - use `String::Escape` to encode...
refs https://github.com/openresty/test-nginx/issues/126 I understand this is likely the _wrong_ fix and this should be done differently but any help in getting a proper fix/option to do case insensitive headers would...