Advertisment

Sauce Labs announces support for JavaScript unit testing

author-image
Abhigna
New Update

SAN FRANCISCO, USA: Sauce Labs Inc., provider of cloud-based mobile and web application testing solutions, today announced expanded platform support and new features for JavaScript (JS) Unit Testing on Sauce.

Advertisment

Developers are now able to automatically test whether the JavaScript in their web and mobile applications renders correctly using Sauce Labs' test infrastructure of more than 150 browser/OS platforms, said Sauce Labs.

With JavaScript code playing an increasingly critical role in modern web apps, JS unit testing is essential to ensure quality and keep up with the accelerating pace of web development. However, many developers are limited to testing against the browsers available on their own laptops or internal test infrastructure.

"By using the Sauce Labs platform for JS unit testing, developers can instantly run tests across all their target browsers, increasing the coverage of their testing and the speed of their release cycles," added Sauce labs.

Advertisment

"Using Sauce for JS unit tests gives developers instant access to difficult to maintain browser/OS combinations, so they can get better test coverage, and allows them integrate tests with their Continuous Integration, or CI, systems," said John Dunham, CEO and co-founder of Sauce Labs. "Hundreds of users have already been using Sauce Labs to run their JavaScript unit tests in the cloud, but the new features make it even simpler."

Sauce's latest JS unit testing developments include a convenient REST API that makes it easier for developers to run tests on the Sauce Lab cloud. To more quickly help frontend developers identify the browser-specific issues within their web and mobile applications, Sauce Labs overhauled their test details page, creating a new reporting page that specifically details the results of JS unit tests. This feature enables developers to see and share all test details easily and identify failures faster.

Beyond web app developers, some popular JS application frameworks run their own cross-browser JS tests in the Sauce Labs cloud, including YUI, an open source JavaScript and CSS library for building richly interactive web applications that is built by Yahoo.

"We use Yeti with Sauce Labs to run over 25,000 tests for every commit to the YUI open source project," said Reid Burke, Yahoo engineer and YUI team member. "We develop with confidence because we constantly test our code on the same browsers and devices our customers use. Plus, Yeti's support for parallel Sauce sessions lets us run all of these tests quickly."

developer