Expand description
Ruby test-file recognition and test-assertion smell detection.
analyzer/ruby/tests.rs in brokk-bifrost-analysis keeps the empty
impl TestDetectionProvider for RubyAnalyzer and the analyzer-bound
fixture suites; everything here is a pure function of a parsed file.
Functionsยง
- detect_
ruby_ test_ assertion_ smells - detect_
ruby_ test_ assertion_ smells_ limited - ruby_
contains_ tests - Heuristic detection of Ruby test files across the common frameworks: RSpec, Minitest, and Test::Unit. Recognition is entirely parser-backed so assertion-like text in comments and strings cannot classify a file as a test.