| Commit message (Collapse) | Author | Age | |
|---|---|---|---|
| * | test(harness): migrate away from magic globals | Justin M. Keyes | 2026-07-21 |
| | | | | | | | | | | | | | | | | | | | | | | Problem: The magic globals `it`, `describe`, etc., are more trouble than they are worth. - Hooking into `after_each` requires `getfenv()` hacks. - They confuse luals/emmylua, because the top-level `.luarc.json` isn't merged with `test/.luarc.json` (apparently a luals limitation?) - They totally defeat discoverability because the user just has to "know" about the various magic symbols. So they harm DX, which means they serve no purpose at all. Solution: - Expose the test API from `testutil`, so tests can call `t.it()`, `t.describe()`, etc., in the conventional way. - Drop `getfenv()` hacks. - Drop the `setfenv()` injection in `load_chunk`. - Drop `test/_meta.lua`. | ||
| * | refactor(test): drop deprecated exc_exec #39242 | Justin M. Keyes | 2026-04-20 |
| | | |||
| * | test: improve test conventions | dundargoc | 2024-04-23 |
| | | | | | | | | | | Specifically, functions that are run in the context of the test runner are put in module `test/testutil.lua` while the functions that are run in the context of the test session are put in `test/functional/testnvim.lua`. Closes https://github.com/neovim/neovim/issues/27004. | ||
| * | refactor(test): inject after_each differently | Lewis Russell | 2024-04-10 |
| | | |||
| * | test: improve test conventions | dundargoc | 2024-04-08 |
| | | | | | Work on https://github.com/neovim/neovim/issues/27004. | ||
| * | refactor: format test/* | Justin M. Keyes | 2024-01-03 |
| | | |||
| * | coverity/56795: Fix NULL dereference in :syn keyword non-printable | ZyX | 2017-04-09 |
| Bug was introduced 3 years earlier, in 13848aa: NULL keyword_copy was incorrectly treated as an indicator of OOM. | |||