GithubHelp home page GithubHelp logo

speccr's Introduction

Speccr

Warning this does not even begin to work as I can't capture blocks as I'm used to from ruby, so I need a new problem resolution strategy :)

Why Speccr, we already have spec?

I love it that crystal has spec builtin as a testing library and I like using it. I tried enhancing spec with dynamic matchers and others but stumbled upon a couple of problems from my perspective. Basically spec is RSpec2 style (object.should matcher) and not RSpec3 (expect(object).to matcher) and some methods are globally available. I prefer RSpec3 :) I thought about refactoring spec but figured it might be easier to start fresh. The goals of Speccr are:

  • No monkey patching
  • No globally defined methods, they are all bound on Speccr objects in order not to pollute any name space
  • expect syntax
  • let statements
  • random test execution order
  • Suppport for dynamic matchers (be_empty etc.) if that's feasible

Note, I'm interested in crystal and I like the language very much, but I'm no expert so no guarantees that this will actually get done but I want to try and building a testing framework seems like fun :) But this might still take a while ;)

speccr's People

Contributors

pragtob avatar

Stargazers

Pine Mizune avatar Paul Götze avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.