-
Course
- Core Tech
Testing JavaScript with Jasmine 2 and TypeScript
This course serves as an introduction to using TypeScript with Jasmine for writing units tests in JavaScript.
What you'll learn
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.
About the author
Tony Curtis is a Technical Program Manager at Health Catalyst in Salt Lake City, Utah. He has been developing software professionally since 1995. He is passionate about unit testing, and software craftsmanship. Tony loves spending time with his family, writing sci-fi and he very much enjoys euro-games and other eclectic games with friends, family, and co-workers.
More Courses by Tony