Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,10 @@ LSPRAG (Language Server Protocol-based AI Generation) is a cutting-edge VS Code
- At Editor, click left-up `File` -> `Open Folder` -> Select workspace to `LSPRAG/src/test/fixtures/python`
- [Optional] Test core utilities
- You can check out your current setting by calling `Cmd/Cntrl + Shift + P => LSPRAG: Show Current Settings`
- You can also print current settings from terminal at workspace root: `npm run show:settings`
- You can test your LLM avaialbility by calling `Cmd/Cntrl + Shift + P => LSPRAG: Test LLM`
- You can also test LLM from terminal at workspace root: `npm run test:llm`
- You can also generate a unit test from terminal: `npm run generate:cli -- --file src/test/fixtures/python/calculator.py --function compute`
- You can test your Language Server avaialbility by calling `Cmd/Cntrl + Shift + P => LSPRAG: Test Language Server`

2. **Generate Tests**
Expand Down Expand Up @@ -177,4 +180,3 @@ New to LSPRAG? Want to contribute? We've got you covered!

---
**Ready to generate unit tests with LSPRAG!** 🎉

3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,9 @@
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src",
"generate:cli": "npm run compile && node ./out/cli/generateUnitTest.js",
"show:settings": "npm run compile && node ./out/cli/showSettings.js",
"test:llm": "npm run compile && node ./out/cli/testLLM.js",
"lightWeightBuild": "node scripts/build.js",
"build": "tsc",
"test": "npm run compile && node ./out/test/runTest.js $TEST_FILE",
Expand Down
Loading