glimmer-dsl-specification

Glimmer DSL for Specifications - Pure Ruby Declarative Use Case Specification and Automated Verification (by AndyObtiva)

Reviews and mentions

Posts with mentions or reviews of glimmer-dsl-specification. We have used some of these posts to build our list of alternatives and similar projects.
  • Glimmer DSL for Specification - Specification-First Engineering
    1 project | dev.to | 22 Nov 2021
    # From: https://github.com/AndyObtiva/glimmer-dsl-specification require 'glimmer-dsl-specification' class Person attr_reader :first_name, :last_name def initialize(first_name: , last_name: ) @first_name = first_name @last_name = last_name end def name "#{first_name} #{last_name}" end end module Glimmer::Specification specification('Glimmer DSL for Specification') { use_case('Compare Two Objects for Equality') { scenario 'Same-content strings are equal' do 'string' == 'string' end scenario 'Different-content strings are not equal' do 'string1' != 'string2' end scenario 'Same-number integers are equal' do 1 == 1 end scenario 'Different-number integers are not equal' do 1 != 2 end } use_case('Verify Multiple Facts') { scenario 'person name consists of first name and last name' do person = Person.new(first_name: 'Bob', last_name: 'Winfrey') fact { person.first_name == 'Bob' } fact { person.last_name == 'Winfrey' } person.name == 'Bob Winfrey' end } } end

Stats

Basic glimmer-dsl-specification repo stats
1
0
10.0
11 days ago

AndyObtiva/glimmer-dsl-specification is an open source project licensed under MIT License which is an OSI approved license.

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
Find remote jobs at our new job board 99remotejobs.com. There are 32 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.