forked from coder/claudecode.nvim
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit.lua
More file actions
50 lines (41 loc) · 1.07 KB
/
init.lua
File metadata and controls
50 lines (41 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
-- Test runner for Claude Code Neovim integration
local M = {}
-- Run all tests
function M.run()
-- Set up minimal test environment
require("tests.helpers.setup")()
-- Discover and run all tests
M.run_unit_tests()
M.run_component_tests()
M.run_integration_tests()
-- Report results
M.report_results()
end
-- Run unit tests
function M.run_unit_tests()
-- Run all unit tests
require("tests.unit.config_spec")
require("tests.unit.server_spec")
require("tests.unit.tools_spec")
require("tests.unit.selection_spec")
require("tests.unit.lockfile_spec")
end
-- Run component tests
function M.run_component_tests()
-- Run all component tests
require("tests.component.server_spec")
require("tests.component.tools_spec")
end
-- Run integration tests
function M.run_integration_tests()
-- Run all integration tests
require("tests.integration.e2e_spec")
end
-- Report test results
function M.report_results()
-- Print test summary
print("All tests completed!")
-- In a real implementation, this would report
-- detailed test statistics
end
return M