Giter Club home page Giter Club logo

scriptin99's Introduction

Scriptin' 99

curl https://raw.githubusercontent.com/joelgriffith/scriptin99/master/latest.tar.gz | tar -xf- -C ./ && npm i

Build JavaScript that runs in any JavaScript environment. Run tests in every browser. Use the latest tools and technologies (like rewire). All of this in a simple, succint command-line interface.

Features

Run Tests on any browser

Test in any browser you want to. IE6+, Android 2+, and even non-standard browsers. Use karma loaders to easily start any browser, or just visit the test URL.


Integrate with cloud-based testing platforms

Scriptin'99 plays well with just about any 3rd party testing service. Browserstack and SauceLabs both intergrate nicely.


Notifications

Using your os-level notification system, Scriptin'99 will automatically tell you when your test begin to fail.


Dependency Injection

Scriptin'99 allows you to dynamically inject modules under any var name you can think of ($ much?). It even let's you mock your modules dependencies in tests, letting you limit your testing area.


See how you're doing

Comes out-of-the-box with Istanbul pre-installed. Get valuable metrics on where your code isn't covered, and see how you can improve.

Installation

  • Install node.js
  • mkdir myproject && cd myproject
  • curl raw.githubusercontent.com/joelgriffith/scriptin99/master/latest.tar.gz | tar -xf- -C ./
  • npm i

Commands

  • npm run dev

Start a development server (to bundle your code, watch for changes, and run Karma). Out of the box, this will watch for changes in src and in test/**/*.mspec for both bundling and testing, respectively.

  • npm run build

Bundles up your JavaScript and runs all unit tests once. No watches or continuous integration servers are started.

  • npm run test

Run your unit-tests once and exit. No watches or continuous integration servers are started.

  • npm run help

Prints out all the options available in Scripting99.

scriptin99's People

Stargazers

 avatar  avatar

Watchers

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