askds
v1.23.0
Published
`askds` is a test debugger that helps diagnose test failures using DeepSeek R1. It runs your tests, analyzes failures, and suggests fixes.
Readme
askds - DeepSeek R1-powered test debugger
askds is a test debugger that helps diagnose test failures using DeepSeek R1. It runs your tests, analyzes failures, and suggests fixes.
Installation
Make sure you have yek installed:
npm install -g askdsBasic Usage
Run tests with AI analysis:
export DEEPSEEK_API_KEY="your-api-key"
askds npm testConfiguration
Set these environment variables to customize behavior:
| Variable | Description | Default |
| ------------------ | ---------------- | ------- |
| DEEPSEEK_API_KEY | Required API key | - |
Command line options:
| Flag | Description | Default |
| ----------------------- | ---------------------------------------------------------------------- | -------------- |
| --test-file-pattern | Glob pattern for test files | **/*.test.ts |
| --source-file-pattern | Glob pattern for source files | src/**/*.ts |
| --serialize | Repository serialization cmd | yek |
| --debug | Enable debug mode | false |
| --hide-ui | Hide UI | false |
| --system-prompt | Custom system prompt file | - |
| --timeout | Timeout for AI response | 120 |
| --run | Run this command. when using run [test-command-and-args...] is ignored | false |
How It Works
- Runs your test command
- Analyzes failures + repo content using Deepseek R1
- Prints the solution/suggestion
Examples
Basic Test Analysis
askai npm testExperimental Fixing
askds --fix npm test--fix uses DeepSeek R1 to fix the code by calling it again with original code and the fix returned from the first call.
