TDD in typescript

TDD inĀ typescript

Looks like its not seamless: http://visualstudiomagazine.com/articles/2013/06/01/test-driven-development-with-typescript.aspx

SEE: http://joeriks.com/2012/10/12/test-first-development-with-typescript-within-visual-studio/

http://stackoverflow.com/questions/16069416/dependency-injection-in-typescript

using QUnit: http://lordhanson.wordpress.com/2012/10/15/unit-testing-with-typescript-and-resharper/

Testing with Jasmine:

http://www.nuget.org/packages/jasmine.TypeScript.DefinitelyTyped/

http://blorkfish.wordpress.com/2012/10/06/typescript-unit-testing-with-visual-studio-2012-jasmine-backbone-sinon-require-and-testem-on-windows-7/

UNIT TESTING: http://stackoverflow.com/questions/12695934/unittesting-in-typescript

tsUnit – TypeScript Unit Testing Framework

NOTE: Add ref file for intellisense

Eg.

/// <reference path=”node.d.ts” />

/// <reference path=”jasmine.d.ts” />

Advertisements