Enhance testing framework by introducing a unified test runner in run-all.js, allowing for streamlined execution of multiple test scripts. Update package.json to include new test commands for individual test scripts and the consolidated runner. Add comprehensive test cases for list_files, read_file, and ripgrep functionalities, improving overall test coverage and error handling.

This commit is contained in:
sebseb7
2025-08-11 23:05:14 +02:00
parent 8645909fd5
commit 15d8e96b49
6 changed files with 534 additions and 6 deletions

View File

@@ -49,7 +49,11 @@
},
"scripts": {
"start": "node cli.js",
"test": "node tests/run-tests.js"
"test": "node tests/run-all.js",
"test:patch": "node tests/run-tests.js",
"test:readfile": "node tests/run-readfile-tests.js",
"test:listfiles": "node tests/run-listfiles-tests.js",
"test:ripgrep": "node tests/run-ripgrep-tests.js"
},
"keywords": [],
"author": "",