Skip to content

HeavyTechRuby/bddsm

Repository files navigation

BDDSM

Maintainability Hits-of-Code

Behavior Driven Development Semantic Machine

Hard Testing Framework. Multi-paradigm spec/feature/xunit-agnostic syntax support.

Usage

Describe:

BDDSM.describe "average" do
  let(:numbers) { [1, 2, 3] }

  let(:average) { numbers.average }

  it { expect(average).to eq 2 }
end

Execute

bddsm test/average_spec.rb