Play by Play: Angular Testing with John Papa and Ward Bell
Pluralsight
Course Summary
Angular testing isn't the most exciting or attractive part about coding. It's important, of course, but it can be kind of hard to get started. You know you should, you kinda feel guilty that you don't, but there's something holding you back. This course should help you get over the hump and start writing Angular tests. If you're brand new to testing Angular code, if you're unsure how to get started, or if you're like John Papa and absolutely hate it, this course is for you. By the end of this course, you'll know some tools and best practices to help you start writing Angular tests.
-
+
Course Description
Angular testing isn't the most exciting or attractive part about coding. It's important, of course, but it can be kind of hard to get started. You know you should, you kinda feel guilty that you don't, but there's something holding you back. This course should help you get over the hump and start writing Angular tests. If you're brand new to testing Angular code, if you're unsure how to get started, or if you're like John Papa and absolutely hate it, this course is for you. By the end of this course, you'll know some tools and best practices to help you start writing Angular tests.
-
+
Course Syllabus
Angular Testing 101- 1h 3m
—Introduction 2m 5s
—Instant Angular App with HotTowel 1m 29s
—Adding New Views and Controllers 5m 11s
—Running the Demo and Automatic Wireup of the Files 0m 52s
—Adding Data 3m 46s
—Showing Data on the View 4m 42s
—Failing a Test 3m 3s
—Running Tests in the Browser 0m 39s
—Running Suites of Tests 4m 34s
—Test Setup with Describe and BeforeEach 1m 39s
—Making Testing Easier with Bard 2m 32s
—Creating a Controller in a Test 1m 7s
—How to Think About What Tests We Want to Write 3m 0s
—Testing if Data Exists 2m 40s
—Testing if the Data Is the Expected Shape 6m 26s
—Faking the Data Service Dependency 2m 49s
—Reducing Testing Code 3m 7s
—Reducing Friction for Injections 5m 15s
—What Module Do I Test? 8m 36sGoing Further with Testing- 50m 38s
—Testing Angular Services 5m 37s
—Flushing Promises in Tests 5m 51s
—Faking $http Calls 4m 56s
—Exercising the $http Call for Different Status Codes 3m 10s
—Testing Failure Paths 4m 48s
—Debugging Tests in the Browser 0m 55s
—Timeouts in Tests 2m 2s
—Making Real HTTP Calls Takes an Async Test 6m 59s
—Master - Details 6m 24s
—Testing a State Change in Master - Details 1m 41s
—Faking (or restoring) the $stateProvider 4m 14s
—Flushing State Changes and Testing Bad States 0m 31s
—Keeping Tests Simple 1m 56s
—Coverage 1m 11s
—Conclusion 0m 19s