https://github.com/ksylvest/specifier
A Ruby spec tool built from scratch.
https://github.com/ksylvest/specifier
gem ruby
Last synced: 4 months ago
JSON representation
A Ruby spec tool built from scratch.
- Host: GitHub
- URL: https://github.com/ksylvest/specifier
- Owner: ksylvest
- License: mit
- Created: 2017-08-29T03:54:55.000Z (almost 9 years ago)
- Default Branch: main
- Last Pushed: 2025-09-17T19:05:23.000Z (9 months ago)
- Last Synced: 2025-12-21T06:56:33.498Z (6 months ago)
- Topics: gem, ruby
- Language: Ruby
- Homepage: https://ksylvest.com/posts/2018-08-01/building-a-testing-framework-similar-to-rspec-in-ruby
- Size: 61.5 KB
- Stars: 3
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Specifier
[](https://github.com/ksylvest/specifier/blob/main/LICENSE)
[](https://rubygems.org/gems/specifier)
[](https://github.com/ksylvest/specifier)
[](https://circleci.com/gh/ksylvest/specifier)
## Installation
```bash
gem install specifier
```
## Example
```ruby
class Echo
def say(message)
message
end
end
```
```ruby
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
```bash
bundle exec specifier ./specs
```
## Copyright
Copyright (c) 2016 - 2025 [Kevin Sylvestre](https://ksylvest.com). See LICENSE for details.