Blog Archives

Using mocha and sinon for client side testing

Returning to the MotorDB project, https://github.com/thesoftwaredude/MotorDB, I have unit tests of the controllers, but nothing for testing the client side code. I have been reading recently about the various javascript testing frameworks, and decided that I want to try using mocha

Tagged with: , , , ,
Posted in mocha, sinon, TDD, Typescript

Typescript 0.9.5 Compiler Errors

Typescript 0.9.5 has been released by Microsoft and is available to download here: http://www.microsoft.com/en-us/download/details.aspx?id=34790, With the release notes available here: http://blogs.msdn.com/b/typescript/archive/2013/12/05/announcing-typescript-0-9-5.aspx After downloading, and installing the latest version, I now have two typescript compile error within the MotorDB Project: Type

Tagged with: ,
Posted in MotorDB, Typescript

appharbor and Typescript – 404 errors

In part 1 of setting up and creating the MotorDB application, Typescript was used. To help demonstrate the application, it is hosted at appharbor However after appharbor pulled down the latest code from GitHub, the sample data was not being displayed.

Tagged with: , ,
Posted in appharbor, MotorDB, Typescript

Setting up and using Typescript – Part 1

In a previous post, I started a restful API that returns policy information. Now its time to starting calling the API from client. First thing need is to get all the typing definition files. Any definition file required can be

Tagged with: , ,
Posted in jquery, MotorDB, Typescript

Visual Studio 2012 and Typescript

If, like me you have been doing any sort of development using Typescript within Visual Studio, you have come to rely on Mads Kristensen’s Web Essentials 2012 plug-in, to enhance the plug-in that comes from Microsoft. I have come to rely on

Tagged with:
Posted in Typescript, Web Essentials 2012

Enter your email address to follow this blog and receive notifications of new posts by email.

Join 12 other followers