November 26th in Unit Testing by . no comment .

How Unit Testing Helped Me Slash a Nasty Bug

To make a library ready for production, you need to write unit tests that cover all the core functionalities of the library. Then you will need to establish a means to automatically run those unit tests in different target environments. Only when a library passes all unit tests in all …

Continue Reading
September 18th in Unit Testing by . no comment .

Unit Testing with JavaScript — Part 2: Preparation

In the previous article, we’ve seen what a unit test is, and we’ve learned the best practices to write a proper unit test suite. Now it’s time to get our hands dirty . In this tutorial, we will create a unit test runner. Navigation This is Part 2 of a …

Continue Reading
June 11th in Discussion by . 2 comments .

What’s New in the o2.js JavaScript Framework

By the time of this writing, o2.js is at version 0.16.201106101845. You can always get the most up-to-date version from the o2.js SVN Repository (user: o2js pass: o2js). Here’s what’s new in this version: o2.js Documentation Updates I’ve updated the documentation, going over each and every single file. In addition, …

Continue Reading
April 22nd in o2.js Modules by . no comment .

How to Create a Simple JavaScript Debugger

What’s the Catch? Okay, we will try to learn the intricacies of JavaScript. In order to do achieve this, however, sooner or later, we will need a medium, like a console, to test our results. Debugging is a crucial part of development. It becomes even more important if you are …

Continue Reading
o2.js _
Fork Ribbon