Closed printercu closed 5 years ago
I was planning to be able to define tests to run as a list at some point. I am not sure that I want to replace a full global namespace with a module global. I would much rather have a list of tests which we can pass around and use.
Do you think you could work on another prototype along the lines of what I propose ?
Can you please provide a sample use case?
To be able to define test outside of global namespace
Hi!
With this patch it's possible to define tests and groups outside of global namespace.
It's a good practice to not introduce unnecessary global variables and luacheck warns on this by default.