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.
1
Version 1.3.4-1 of mocka was uploaded 3 years ago. For lua >= 5.1