Glimmer DSL for Specification - Specification-First Engineering

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • glimmer-dsl-specification

    Discontinued Glimmer DSL for Specifications - Pure Ruby Declarative Use Case Specification and Automated Verification

  • # 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

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts