# Mobile: Unit Testing

DevFeed: [Mobile: Unit Testing](<https://devfeed.tech/articles/mobile-unit-testing-2082.md>)

Original publisher: [Read original article](<https://developers.soundcloud.com/blog//mobile-unit-testing>)

Published: 2011-09-12T00:00:00Z

Content type: article

Language: en

Sources: [SoundCloud Backstage Blog](<https://devfeed.tech/sources/soundcloud-backstage-blog.md>)

Topics: [Mobile](<https://devfeed.tech/topics/mobile.md>), [Unit testing](<https://devfeed.tech/topics/unit-testing.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [Mocking](<https://devfeed.tech/topics/mocking.md>), [jQuery](<https://devfeed.tech/topics/jquery.md>), [Selenium](<https://devfeed.tech/topics/selenium.md>), [WebKit](<https://devfeed.tech/topics/webkit.md>), [Jenkins](<https://devfeed.tech/topics/jenkins.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [browser](<https://devfeed.tech/tags/browser.md>), [chrome](<https://devfeed.tech/tags/chrome.md>), [continuous-integration](<https://devfeed.tech/tags/continuous-integration.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [jenkins](<https://devfeed.tech/tags/jenkins.md>), [mobile](<https://devfeed.tech/tags/mobile.md>), [mocking](<https://devfeed.tech/tags/mocking.md>), [safari](<https://devfeed.tech/tags/safari.md>), [selenium](<https://devfeed.tech/tags/selenium.md>), [testing](<https://devfeed.tech/tags/testing.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>), [unit-testing](<https://devfeed.tech/tags/unit-testing.md>)

## AI overview

This article describes SoundCloud's early-2011 experience establishing JavaScript unit testing for its Mobile project. It covers the selection of QUnit, Mockjax for mocking API requests, PhantomJS for browser-like test execution in Jenkins-based continuous integration, and the evaluation of Selenium and TestSwarm.

## Source excerpt

When we started the Mobile project early 2011, unit testing JavaScript was one of the goals to tackle on the technical side. The history of...