rails_get_test_info
Retrieves Rails test infrastructure and existing test files, including framework, factories, fixtures, CI and coverage setup, so you can locate tests or write new ones for models and controllers.
Instructions
Get test infrastructure and existing test files: framework, factories, fixtures, CI config, coverage setup. Use when: writing new tests, checking what factories/fixtures exist, or finding the test file for a model/controller. Use model:"User" or controller:"Posts" to see existing tests. detail:"full" lists factory and fixture names.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Show existing tests for a specific model (e.g. 'User'). Looks for model spec/test file. | |
| detail | No | Detail level. summary: framework + counts. standard: framework + fixtures + CI (default). full: everything including fixture names, factory names, helper setup. | |
| controller | No | Show existing tests for a specific controller (e.g. 'Posts'). Looks for controller/request spec/test file. |