Git Product home page Git Product logo

grape's Introduction

grape

What

A port of Tape that works how I expect it to work

Why

Tape [https://github.com/substack/tape] is an awesome, simple test lib written by @substack, but it doesn't work exactly as I would expect.

in Tape, if you called t.plan(2), only asserted one thing, then called t.end(), it passes.

NOTE: This is apparently fixed now, so there should be little difference between grape and tape.

Grape aims to be fairly swap-out-able in place of Tape (I'm lazy and all my tests are in Tape). The results file is a slightly rewritten copy-pasta of @substack's version.

Currently Grape has the same API as Tape in terms of assersions, but isn't quite the same ata deeper level, as a test instance does not inherrit from EventEmitter at the moment.

Stability

Grape was whipped up in a few hours, but it seems to work when used normally. Pull requests welcome.

grape's People

Contributors

korynunn avatar mauricebutler avatar

Watchers

 avatar James Cloos 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.