Javascript Software Testing: unit testing, open source, Jasmine, Karma, Casper.js, QUnit, SinonJS, etc.

Automating Cross-browser JavaScript Unit Testing

February 13, 2017 0

What might seem obvious to some people could be weird to other. This is still the case for applying unit testing to JavaScript code in multiple browsers. In his blog post “Learning How to Set Up Automated, Cross-browser JavaScript Unit Testing”, Philip Walton provides a step-by-step approach process to create some automated testing of your JavaScript code.

Get Started with Visual Regression Testing and WebdriverIO

August 10, 2016 0

If you develop web sites, you are certainly aware of the side effects that some JavaScript code changes might have on your applications. Visual regression testing is a technique that allows monitoring these negative impacts. This book provides a quick step by step introduction to visual regression testing using the WebdriverIO open source tool.

Open Source JavaScript Code Analysis

January 26, 2016 0

The quality of the JavaScript code is often verified with the traditional activities of unit and functional testing. There are however tools that allow to check code before its execution to assess its quality and its adherence to coding standards using a process called static code analysis. This article presents a list of open source tools to perform static code analysis on JavaScript.

Jasmine Automated Tests for JavaScript

January 11, 2016 0

Jasmine is one of the most popular open source JavaScript unit testing frameworks that allows JavaScript developers to develop “descriptive” testing code which does not necessarily need a JavaScript expert to understand it. Although Jasmine is a popular JavaScript unit testing framework and is used in many web applications, it does not have an out-of the box way to automate the running of its tests because it is designed to run from the browser.

Unit Testing a Require.JS App

November 9, 2015 0

Require.JS is an open source JavaScript file and module loader. In this blog post, Ben Wilhelm explains how to add unit tests to a Require.JS application without spending a large effort in refactoring the apps.

Testing Angular Applications

March 25, 2015 0

Ari Lerner believes that testing is a core aspect of development, that they cannot be separated from one another, that they are one in the same. This talk is about Angular, and is specifically about testing the Angular JavaScript framework, but the approaches discussed are universal to front-end applications alike.

How to Write Beautiful JavaScript Tests

February 5, 2015 0

This talk shares some experience with JavaScript tests, and show the most important patterns you can rely on to write simple, beautiful, maintainable and incredibly fast tests.

1 2 3 6