get_rules_for_writing_tests
Retrieve user-specific guidelines for writing tests, including naming conventions, structure, assertions, mocking, and coverage. Use before writing or modifying test code to ensure adherence to defined patterns and preferences.
Instructions
Use when: writing any type of test, modifying existing tests, reviewing test structure, or making decisions about test implementation.
What it provides: User-specific rules, patterns, and preferences for test composition including naming conventions, structure, assertions, mocking approaches, and coverage requirements.
How to use: ALWAYS invoke this tool BEFORE writing or modifying any test code to retrieve the current testing guidelines, then apply these rules throughout your implementation.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
language | Yes | The programming language the test is written in. |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"language": {
"description": "The programming language the test is written in.",
"enum": [
"typescript",
"python"
],
"type": "string"
}
},
"required": [
"language"
],
"type": "object"
}