You'll need to install stylua and selene.
$ make lint
This uses mini.test
To init the dependencies run
$ make prepare
To run all tests just execute
$ make test
To run specific test:
$ make test dir=base file=test_search.lua
To run test at specific line:
$ make test dir=base file=test_search.lua line=83
To update screenshots:
$ make test dir=base file=test_search.lua update_screenshots=true
An Action will run all the tests and lints on Pull Request to main. Tests will be run using a stable version of Neovim.