Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jan 22, 2014
  1. Michał Gołębiowski

    API: Update to BrowserStack API v.3

    mzgol authored
    The third version of the API is needed for IE11 support.
Commits on Nov 14, 2012
  1. Timo Tijhof

    Lint: Fix warnings introduced in v2 branch.

    Krinkle authored
    map.js: line 264, col 1, Mixed spaces and tabs.
    map.js: line 265, col 1, Mixed spaces and tabs.
    testswarm-browserstack.js: line 145, col 23, Missing space after ':'.
    testswarm-browserstack.js: line 157, col 55, Missing space after 'action=spawnworker error='.
    testswarm-browserstack.js: line 157, col 69, Missing space after ' browser= '.
    testswarm-browserstack.js: line 157, col 70, Missing space after '+'.
    testswarm-browserstack.js: line 157, col 93, Unexpected space after ')'.
    testswarm-browserstack.js: line 163, col 23, Missing space after ':'.
    testswarm-browserstack.js: line 189, col 23, Missing space after ':'.
    testswarm-browserstack.js: line 202, col 23, Missing space after ':'.
    testswarm-browserstack.js: line 279, col 11, Missing space after 'if'.
    testswarm-browserstack.js: line 279, col 27, Missing space after ')'.
    testswarm-browserstack.js: line 292, col 20, Missing space after ':'.
    testswarm-browserstack.js: line 419, col 53, Unexpected space after '('.
    testswarm-browserstack.js: line 443, col 19, Missing semicolon.
    testswarm-browserstack.js: line 155, col 67, 'worker' is defined but never used.
    util.js: line 95, col 19, Missing space after ')'.
    util.js: line 97, col 7, Missing space after 'if'.
    util.js: line 97, col 61, Missing space after ')'.
    util.js: line 100, col 10, Missing semicolon.
    util.js: line 103, col 7, Missing space after 'if'.
    util.js: line 103, col 21, Missing space after ')'.
    util.js: line 104, col 36, Missing semicolon.
    util.js: line 107, col 8, Missing space after 'for'.
    util.js: line 107, col 9, Bad for in variable 'i'.
    util.js: line 107, col 19, Missing space after ')'.
    util.js: line 108, col 13, Too many var statements.
    util.js: line 109, col 11, Missing space after 'if'.
    util.js: line 109, col 32, Missing space after ')'.
    util.js: line 112, col 10, Missing space after 'l'.
    util.js: line 112, col 14, Missing space after 'i'.
    util.js: line 112, col 15, Missing space after '+'.
    util.js: line 112, col 18, Missing space after '='.
    util.js: line 112, col 29, Missing space after '+'.
    util.js: line 115, col 7, Missing space after 'if'.
    util.js: line 115, col 19, Missing space after ')'.
    util.js: line 116, col 21, Expected an assignment or function call and instead saw an expression.
    util.js: line 108, col 28, 'i' is not defined.
    util.js: line 112, col 14, 'i' is not defined.
    util.js: line 2, col 11, 'colors' is defined but never used.
    
    40 errors
Commits on Sep 29, 2012
  1. Timo Tijhof

    Major rewrite (version 0.2.0)

    Krinkle authored
    Main script:
    * Most importantly: The main run() and updateBrowsers() methods
      are completely rewritten to fix all known logic problems. Such
      as where it started the wrong browsers or didn't account for
      certain limits and race conditions, and it now has a priority
      formula, which (among other things) takes into account all
      online clients (not just the workers it started). So it starts
      needed browsers while also allowing other instances of this
      script (or other scripts or human users) to join the swarm
      and fill in the needed roles instead.
    
    * Make browserstack client version explicit. v1 at this time,
      as v2's structure is still a bit odd. Maybe they'll change it
      (request has been made). If not, we'll do a minor refactoring
      to support the v2 flow.
    
    * Added method to start a worker by swarm user agent id (e.g.
      "Chrome|22" as opposed to { browser: 'chrome', version: 22 } ).
    
    Cli script:
    * Now uses config.json for most options. It still has a few
      options to activate "verbose" and "dryRun".
    
    * Added a --run-loop option that will execute "run" in a loop
      in child processes.
      Loop will not start if config is invalid. If config becomes
      invalid during the loop the child process will output an error
      message, but the loop will not stop and try again at the next
      interval.
    
    * Actions removed/changes:
      - worker (new: get worker info)
      - spawn (new: start worker by testswarm ua id)
      - dry-run (replacing '--kill' and the old '--run')
      - getNeeded (not needed, info is now part of --verbose)
    
    Misc:
    * Various updates to map.js
    * New code base passes JSHint (see .jshintrc)
    * Updated dependencies in package.json to their latest versions
      and updated code where needed.
    
    References:
    * Fixes #16: "cli: Move defaults to commander declaration"
    * Fixes #17: "stackLimit is enforced wrong (too low)"
    * Fixes #21: "Online workers shouldn't take priority in the loop"
    * Fixes #23: "Implement limit for similar workers"
    * Fixes #26: "Optimize for multiple accounts"
Something went wrong with that request. Please try again.