Class: Evilution::MCP::InfoTool::Actions::Tests Private
- Defined in:
- lib/evilution/mcp/info_tool/actions/tests.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Class Method Summary collapse
Class Method Details
.call(files: nil, spec: nil, integration: nil, skip_config: nil) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
12 13 14 15 16 17 18 19 |
# File 'lib/evilution/mcp/info_tool/actions/tests.rb', line 12 def self.call(files: nil, spec: nil, integration: nil, skip_config: nil, **) return config_error("files is required") if files.nil? || files.empty? config = build_config(files, spec, integration, skip_config) return explicit_specs_response(files, config.spec_files) if config.spec_files.any? resolved_specs_response(files, resolver_for(config.integration)) end |