rspec

package
v1.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 10, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package rspec implements RSpec test framework support for Ruby test files.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDefinition

func NewDefinition() *framework.Definition

Types

type RSpecContentMatcher

type RSpecContentMatcher struct{}

RSpecContentMatcher matches RSpec-specific patterns.

func (*RSpecContentMatcher) Match

type RSpecFileMatcher

type RSpecFileMatcher struct{}

RSpecFileMatcher matches *_spec.rb and spec/**/*.rb files.

func (*RSpecFileMatcher) Match

type RSpecParser

type RSpecParser struct{}

RSpecParser extracts test definitions from Ruby RSpec files.

func (*RSpecParser) Parse

func (p *RSpecParser) Parse(ctx context.Context, source []byte, filename string) (*domain.TestFile, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL