clarkbox/testswarm-browserstack — pull request #13 by Krinkle (2012-05-01 00:40:01+00:00)
Title: Implement stack limit, multiple workers for a browsers and "dry-run"

Fix run.sh sample
- Rename to -sample to allow keeping a clean working copy

- Add .gitignore for the customized run.sh and log file

- Add EOL line breaks

- Use 'node' explicitly to avoid errors where `#!/opt/local/bin/node` doesn't exist
(such as on MacOSX, depending on how it was installed)

Implement stack limit, multiple workers for a browsers and "dry-run"
- Fixes:
* fixes issue #11: Implement stackLimit
* fixes issue #12: Add support for starting multiple workers of the same browser
* fixes issue #9: Add timestamps to log

- Implement stack limit
- Potentially start multiple workers for the same browser to speed up testing by using
all usable slots in the browserstack account.
* getWorkerByUaId -> getWorkersByBrowser
* updateBrowsers: Adding an extra loop in which startBrowsers[] is populated with items
from neededBrowsers until the stackLimit is reached.

- Add "dry-run" mode.
Using this mode killWorker and startWorker will not access the browserstack API, but
instead just log a message.

Use in combination with a kill or/or run command.
e.g. ".. --run --kill --dryRun"
e.g. ".. --killAll --dryRun"
e.g. ".. --killWorker 1234 --dryRun"

- Add a space line and timestamp at the beginning of the cli.js execution output