Document --test/--spec CLI flags and testFilter/specFilter config#25
Closed
promptless[bot] wants to merge 2 commits into
Closed
Document --test/--spec CLI flags and testFilter/specFilter config#25promptless[bot] wants to merge 2 commits into
promptless[bot] wants to merge 2 commits into
Conversation
…ions Add documentation for new CLI flags (--test/-t and --spec/-s) that filter test runs by testId and specId regex patterns. Also document the equivalent testFilter and specFilter configuration fields with examples.
| | `--fix-threshold <n>` | `80` | Confidence threshold (0–100) for auto-applying fixes | | ||
| | `--max-fix-attempts <n>` | `3` | Maximum fix iterations per failing test | | ||
| | `--inject` | `false` | Inject passing tests into source file after completion | | ||
| | `--test <patterns>` / `-t` | — | Run only tests whose `testId` matches the given regex patterns. Comma-separate multiple patterns; a test runs if any pattern matches. Case-insensitive. | |
Contributor
Author
There was a problem hiding this comment.
CLI options --test/-t and --spec/-s added in PR #286. The PR's src/utils.ts defines both options with yargs, parsing comma-separated patterns into string arrays that populate config.testFilter and config.specFilter.
Source: doc-detective/doc-detective#286
| @@ -65,6 +67,8 @@ interface Config { | |||
| runOn?: Context[]; // Execution contexts | |||
| concurrentRunners?: number; // Default: 1 | |||
Contributor
Author
There was a problem hiding this comment.
Config fields testFilter and specFilter added in PR #286. The schema changes in config_v3.schema.json define both as string arrays with case-insensitive regex patterns applied to testId and specId respectively.
Source: doc-detective/doc-detective#286
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Open this suggestion in Promptless to view citations and reasoning process
Documents the new CLI flags (--test/-t and --spec/-s) for filtering test runs by testId and specId regex patterns, and the equivalent testFilter and specFilter configuration fields with usage examples.
Trigger Events
Tip: Adjust how proactive or focused Promptless is in Agent Settings ⚙️