Skip to content

Instantly share code, notes, and snippets.

@AndersDJohnson
Last active June 5, 2019 13:35
Show Gist options
  • Save AndersDJohnson/5757046 to your computer and use it in GitHub Desktop.
Save AndersDJohnson/5757046 to your computer and use it in GitHub Desktop.
browser / client-side testing

!!! [Selenium | http://seleniumhq.org]

!! [Selenium Grid | https://code.google.com/p/selenium/wiki/Grid2]

"Selenium Grid transparently distribute your tests on multiple machines so that you can run your tests in parallel, cutting down the time required for running in-browser test suites."

  • Use devices or virtual machines as "nodes" to run tests from a centralized "hub".

Guide from Vaadin: [https://vaadin.com/book/-/page/testbench.grid.html]

!! [Appium | http://appium.io/]

"Appium is an open source test automation framework for use with native and hybrid mobile apps. It drives iOS and Android apps using the WebDriver JSON wire protocol."

*Can run Selenium scripts.

!! [Vaadin Test Bench | https://vaadin.com/add-ons/testbench]

"Vaadin TestBench is a tool built on Selenium2 and it is used for automated user interface testing of web applications on multiple platforms and browsers."

!!! JavaScript !! Test Runners *[Buster.JS | http://busterjs.org] ** Poor Windows support. *[js-test-driver| https://code.google.com/p/js-test-driver/] **Anywhere / Browser capture **Poor support for testing frameworks, require.js, etc. *[Karma (Testacular) | http://karma-runner.github.io/] **Local **Supported by AngularJS team @ Google. **Developed after frustrations with js-test-driver. **Mediocre Windows support. *[Testem | https://github.com/airportyh/testem] **Local ** IE 7/8/9 via compatibility mode *[Thrill | http://thrilljs.com/] + [Queen | http://queenjs.com/] **Can use Selenium (see [1 | https://github.com/turn/thrill/wiki/Using-automatic-populators], [2|https://github.com/turn/queen/wiki/Using-Queen-with-Selenium]), [BrowserStack | http://www.browserstack.com/], or [SauceLabs | https://saucelabs.com/] to populate browser pool. **[Comparison to others | https://github.com/turn/thrill/wiki/Comparison-to-Similar-Software]

! Anders' picks:

Thrill + Queen

Karma

js-test-driver

!! Test Libraries *QUnit *Mocha *Jasmine *Chai (Assertions) *Buster.JS *Sinon.js (Spies, Stubs, Mocks)

! Anders' picks:

QUnit

Mocha

!! Simulation *[Syn.js | http://bitovi.com/blog/2010/07/syn-a-standalone-synthetic-event-library.html]

!!! Services *[BrowserStack | http://www.browserstack.com/ *[SauceLabs | https://saucelabs.com/] *[CrossBrowserTesting | http://crossbrowsertesting.com/] *[Browserling | http://browserling.com] / [Testling | https://ci.testling.com/] *[More at StackOverflow | http://stackoverflow.com/questions/55577/how-can-i-test-my-web-pages-in-microsoft-internet-explorer-on-a-mac/10387902#10387902]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment