Code Monkey home page Code Monkey logo

testling-server's Introduction

testling-server

Run your browser tests on every commit!

This is the run-it-yourself version of testling-ci.

instructions

$ npm install -g testling-server
$ testling-server --port=4000

then from a git repo with testling tests:

$ git push http://localhost:4000/substack/node-falafel.git master

Right now the tests just run with the xdg-open or open command on the local system.

You can query the test results:

$ curl http://localhost:4000/substack/node-falafel/status.json
{
  "iexplore": {
    "7.0": true,
    "6.0": true,
    "9.0": true,
    "8.0": true
  },
  "opera": {
    "12.0": true
  },
  "firefox": {
    "10.0": true,
    "15.0": true
  },
  "safari": {
    "5.1": true
  },
  "chrome": {
    "20.0": true
  }
}

or there is a level-query endpoint you can query at http://localhost:4000/data.json:

$ curl -sSgN 'http://localhost:4000/data.json?filter=["type","commit"]&map=repo'
[["substack/node-falafel.git"],
["substack/node-falafel.git"],
["substack/gamma.git"]]

already works

  • git endpoint
  • running tests in browsers
  • storing tests in leveldb

todo

  • project pages
  • sync with testling-hosted browsers
  • validation - right now anybody can come along and run arbitrary code
  • virtualization - run tests in an arbitrary sandbox

testling-server's People

Contributors

juliangruber avatar

Watchers

Jeremy Hulick 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.