Documentation
¶
Overview ¶
Package ruby is the Ruby implementation of the affected-selection language seam.
A unit is one .rb file. Test units carry a framework-qualified identity so a caller can choose the file-level command the detected runner actually supports. The plugin reads source text only; it never invokes Ruby, Bundler, Rails, or a test framework.
Index ¶
Constants ¶
View Source
const ( // FrontierUnreadableSource reports source that could not be read or decoded. FrontierUnreadableSource = "ruby:unreadable-source" // FrontierDynamicLoad reports a require/load target not fixed in source. FrontierDynamicLoad = "ruby:dynamic-load" // FrontierConditionalLoad reports a literal load nested in a block. FrontierConditionalLoad = "ruby:conditional-load" // FrontierAmbiguousLoad reports a literal matching several repository files. FrontierAmbiguousLoad = "ruby:ambiguous-load" // FrontierRelativeLoad reports a require_relative target with no observed file. FrontierRelativeLoad = "ruby:relative-load-unresolved" // FrontierDynamicTestDefinition reports generated or reflection-driven tests. FrontierDynamicTestDefinition = "ruby:dynamic-test-definition" // FrontierRailsAutoload reports Rails constant loading not expressed by requires. FrontierRailsAutoload = "ruby:rails-autoload" // FrontierCucumberOwnership reports neutral Gherkin scenarios this plugin cannot own. FrontierCucumberOwnership = "ruby:cucumber-feature-ownership" // FrontierImplicitTestDependency reports a test with no resolvable repository edge. FrontierImplicitTestDependency = "ruby:implicit-test-dependency" // FrontierAmbiguousFramework reports a test whose runner is not fixed by its own source. FrontierAmbiguousFramework = "ruby:ambiguous-test-framework" )
Frontier reasons this plugin can raise.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Language ¶
type Language struct{}
Language observes Ruby source and test files under one repository root.
func (Language) Owns ¶
Owns reports whether a path is Ruby source text. Neutral Gherkin and YAML assets deliberately remain unclaimed.
Click to show internal directories.
Click to hide internal directories.