/specifier

A Ruby spec tool built from scratch.

Primary LanguageRubyMIT LicenseMIT

Specifier

Installation

gem install specifier

Example

class Echo
  def say(message)
    message
  end
end
Specifier.specify Echo do
  let(:echo) { Echo.new }

  describe '#say' do
    it 'says "Hello" if you say "Hello"' do
      expect(echo.say('Hello')).to equal('Hello')
    end
  end
end

Usage

bundle exec specifier ./specs

Status

CircleCI CodeClimate (Maintainability) CodeClimate (Test Coverage)

Copyright

Copyright (c) 2016 - 2020 Kevin Sylvestre. See LICENSE for details.