Testing JavaScript with Jasmine and TypeScript
Pluralsight
Course Summary
This course serves as an introduction to using TypeScript with Jasmine for writing units tests in JavaScript.
-
+
Course Description
TypeScript will transport us into the future of JavaScript, transforming our authoring experience, and allowing us to use current and proposed ECMAScript language enhancements. In this course, Testing JavaScript with Jasmine and TypeScript, you'll start with the motivations for unit testing, and why crafting good unit tests is so important. Next, you'll look at basic test definition including test setup, nested scoping, and assertions. You'll also learn about dynamic mocking and the ins and outs of testing with dependencies. Finally, you'll look at techniques for creating reliable tests, and some of the consequences when you don't. By the end of this course, you'll feel confident in leveraging TypeScript to maximize your productivity with Jasmine.
-
+
Course Syllabus
Course Overview- 1m 57s
—Course Overview 1m 57sCourse Introduction and Project Setup- 15m 49s
—Module Overview 0m 48s
—Why Write Unit Tests? 4m 46s
—What Could Possibly Go Wrong? 2m 2s
—Jasmine Awesome Sauce 2m 38s
—TypeScript Turbo Boost 1m 40s
—Virtual Dog Blog Demo App 1m 37s
—Project Setup 2m 15sYour First Tests with Jasmine: Revert Those Asserts- 40m 31sMocking with Jasmine- 34m 39sHow to Write Tough Tests with Jasmine- 44m 30sFalse Hopes: Which Is Worse, a False Negative or a False Positive- 25m 29s