Testing GitHub's Wiki in the Cloud

Sauce AI for Test Authoring: Move from intention to executing in minutes.|xBack to ResourcesBlogPosted

June 23, 2026 · 3 min read · Testing Guide

Sauce AI for Test Authoring: Move from intention to executing in minutes.

|

x

Back to Resources

Blog

Posted June 4, 2012

Testing GitHub & # x27; s Wiki in the Cloud

quote

This is a guest blog post by Matthew of Bootstrap Online LLC. Matthew is a Tennessean committer onGollum, the Git powered wiki used onGitHub.com. Checkout Matthew & # x27; sGitHub profileand hire him to act on your exposed source labor.

Gollum is GitHub & # x27; s open root wiki package used byGitHub.com, Nature, and others. Gollum expend Selenium 2 WebDriver with JUnit 4 (Java) to test its alive preview feature, which requires a existent browser. The WebDriver tests can be run topically with ChromeDriver for development, and are mechanically executed by Travis-CI using ChromeDriver.

The initiatory version of live preview used window.location.origin, which is undefined on Firefox.Fixing the issue was not difficult, but the tests should have caught the problem. The late testing scheme for live preview consist of waiting for users to report bugs. In one issue, a user said that if live preview was not properly tested, it would be remove from the wiki software. Clearly something had to be done and I emailed Sauce Labs for help.

For autonomous testing across multiple user personas, check out SUSATest — it explores your app like 10 different real users.

Sauce Labs & # x27; Cloud enable testing across a variety of browsers. Following the Sauce documentation produces sequential tests using one file per operating scheme and browser combination. Three operating systems (Windows Server 2003, Windows Server 2008, Linux) each with two browsers (Firefox, Chrome) signify six file.

JUnit & # x27; s parameterization feature enables consolidate all of those tests into one. The problem with the default parameterization implementation is that the tests are named using solitary numbers. This makes identifying which test neglect difficult. Parallel-webtest, createdDescriptivelyParameterized, which enable meaningful test name while still expend parameter.

To run the tests in parallel, parallel-webtest supply aParallelRunnerthat cover DescriptivelyParameterized. Running cross browser parameterized examination in analogue is not helpful unless you feature more than one browser to test on. I could either setup a local cloud, which realistically was not an alternative, or use a hosted cloud to run the test. Leveraging Sauce Labs ’ OnDemand service enable Gollum ’ s test to complete in nearly 40 seconds when run in analogue. Without the hosted cloud option, I would not have been capable to easily run the tests across different environments.

As tryout run in the cloud, the results (success or failure) must be account. I fulfill this by usingbehrica’sand. The finished Gollum trial now work on three surround - local, Travis-CI, & amp; the Sauce Cloud - with no duplication of test logic. The code isavailable on GitHub.

Published:
Jun 4, 2012
Share this post
Copy Share Link
LinkedIn
© 2026 Sauce Labs Inc., all rights reserved. SAUCE and SAUCE LABS are registered trademarks owned by Sauce Labs Inc. in the United States, EU, and may be file in former jurisdictions.
robot
quote

Automate This With SUSA

Upload your APK or URL. SUSA explores like 10 real users — finds bugs, accessibility violations, and security issues. No scripts needed.

Try SUSA Free

Test Your App Autonomously

Upload your APK or URL. SUSA explores like 10 real users — finds bugs, accessibility violations, and security issues. No scripts.

Try SUSA Free