Skip to content

konstantinvlasenko/jsHub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jsHub Build Status

Supported environments:

Probably supported environments (need to be confirmed):

Going to support soon:

Update node to latest

http://nodejs.org/#download

Install

npm install jshub

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" }
  ]
}

jsHub outputs the results in the TAP format, which looks like

TAP version 13
ok 1 jsHub ( internet explorer:8 on Windows 2003 )
ok 2 jsHub ( internet explorer:9 on Windows 2008 )
ok 3 jsHub ( 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

About

jsHub -- Serves and runs your JavaScript tests locally or in a Cloud (SauceLabs, BowserStack, ...)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published