This course serves as an introduction to using TypeScript with Jasmine for writing units tests in JavaScript.
This course serves as an introduction to using TypeScript with Jasmine for writing units tests in JavaScript.
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.
Jasmine is a great testing framework with an intuitive syntax. TypeScript is a typed superset of JavaScript.
Jasmine helps you to optimize your time, organize your code, isolate your units, and communicate results. TypeScript gives you immediate feedback on your code, like a trusty pair programmer.
This course is for anyone wanting to get into the future of JavaScript with TypeScript, which allows you to use current and proposed ECMAScript language enhancements.
In this course you'll learn how to write fantastic unit tests in Jasmine, and how to use TypeScript to turbocharge your testing productivity.
You don't need to be familiar with Jasmine or TypeScript to dive into this course. Just a general knowledge of JavaScript will do.
We'll be using Visual Studio Code, an open source, multi-platform code editor that's particularly adept at optimizing TypeScript; however, many popular IDEs and editors can utilize TypeScript definitions in the edit window.
OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.
Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.
Find this site helpful? Tell a friend about us.
We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.
Your purchases help us maintain our catalog and keep our servers humming without ads.
Thank you for supporting OpenCourser.