getTestHint() — mcp Function Reference
Architecture documentation for the getTestHint() function in server.ts from the mcp codebase.
Entity Profile
Dependency Diagram
graph TD 6e09a07b_b4e3_8cd3_f98b_18ee50725d44["getTestHint()"] 1f1e3342_1a9b_64a4_0615_96437ddf8cb2["injectOverviewInstructions()"] 1f1e3342_1a9b_64a4_0615_96437ddf8cb2 -->|calls| 6e09a07b_b4e3_8cd3_f98b_18ee50725d44 style 6e09a07b_b4e3_8cd3_f98b_18ee50725d44 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/server.ts lines 200–211
private getTestHint(primaryLanguage: string): string {
switch (primaryLanguage.toLowerCase()) {
case 'python': return '\n\n**Test with:** `python -m pytest <test_file> -x`';
case 'javascript':
case 'typescript': return '\n\n**Test with:** `npm test`';
case 'go': return '\n\n**Test with:** `go test ./...`';
case 'rust': return '\n\n**Test with:** `cargo test`';
case 'java': return '\n\n**Test with:** `mvn test` or `gradle test`';
case 'ruby': return '\n\n**Test with:** `bundle exec rake test`';
default: return '';
}
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does getTestHint() do?
getTestHint() is a function in the mcp codebase.
What calls getTestHint()?
getTestHint() is called by 1 function(s): injectOverviewInstructions.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free