The one lua testing framework that mocks classes, runs with real classes from your project, has nginx embeded methods for openresty individual testing. Has a suite of libraries preinstalled and you can specify libraries to install.
2
Version 1.0.6-1 of mocka was updated 5 years ago, and originally uploaded 5 years ago. For lua >= 5.1, < 5.3