jasmine-server

renamed to jsHub

jasmine server

npm install jasmine-server
9 downloads in the last month

jasmine-server -- I will find the appropriate description later!

Pivotal Tracker

Update node to latest

http://nodejs.org/#download

Install

npm install jasmine-server

Usage

Environment variables

> SAUCE_ACCESS_KEY = your SauceLabs key
> SAUCE_USERNAME = your SauceLabs login

configuration file (js.json)

{
  "name": "MyApplication",
  "url": "http://my.application.com",
  "serve_files": [
    "MyApplication/async.min.js",
    "MyApplication/backbone.js.js",
    "MyApplication/application.js",
    "MyApplication/spec/**/*.js"
  ],
  "browsers": [
    { "browserName": "internet explorer", "version": "10", "platform": "Windows 2012" },
    { "browserName": "internet explorer", "version": "9", "platform": "Windows 2008" },
    { "browserName": "internet explorer", "version": "8", "platform": "Windows 2003" },
    { "browserName": "firefox", "version": "16", "platform": "Windows 2008" },
    { "browserName": "ipad", "version": "5.1", "platform": "Mac 10.8" },
    { "browserName": "safari", "version": "5", "platform": "Mac 10.6" }
  ]
}

jasmine-server outputs the results in the TAP format, which looks like

TAP version 13
ok 1 jasmine-server ( internet explorer:8 on Windows 2003 )
ok 2 jasmine-server ( internet explorer:9 on Windows 2008 )
ok 3 jasmine-server ( internet explorer:10 on Windows 2012 )

1..3
# tests 3
# pass  3

# ok

TAP is a human-readable and language-agnostic test result format. TAP plugins exist for popular CI servers

npm loves you