Play by Play: Angular Testing with John Papa and Ward Bell

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 info
Rating
(246)
Level
Beginner
Updated
Apr 25, 2015
Duration
1h 54m
Table of contents
Description
Course info
Rating
(246)
Level
Beginner
Updated
Apr 25, 2015
Duration
1h 54m
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.

About the author
About the author

John Papa is a Principal Developer Advocate with Microsoft and an alumnus of the Google Developer Expert, Microsoft Regional Director, and MVP programs.

More from the author
Play by Play: Extending the Browser
Beginner
38m
30 Apr 2018
More courses by John Papa
About the author

Ward is a Microsoft MVP and the V.P. of Technology at IdeaBlade, makers of the "DevForce" .NET application development product. Ward often obsesses on client technologies for business applications, data access, and development practices.

More from the author
Play by Play: Angular Design Solutions
Beginner
2h 13m
18 Oct 2017
Code with Us: Angular Quick Start
Beginner
3h 26m
10 Feb 2017
Section Introduction Transcripts
Section Introduction Transcripts

Angular Testing 101
Hello everyone. I'm Ward Bell and this-- I'm John Papa. That's right. And we're very sophisticated Pluralsight authors, aren't we, sir? You know, one thing about doing work with you, I have a hard time when you can't take it seriously. Well, then, let me relieve you of that and get into something-- Please disrobe. --that is not nearly as disruptive to our plan here. It's one thing to be disruptive in front of a bunch of people, but in here with me, we've got to be serious. So, put on your furry jacket. I'm getting serious now. Okay, good. So, we wanted to talk today about something we commonly do, write code, and then how we commonly deal with testing and making sure our code works, and good situations, and what we do when it's not just a happy path. How much do you like testing, John? I absolutely hate it. I do not enjoy testing at all. Well, I actually do kind of like testing because I like what it does for me. But, one of the things I find, and tell me, I have conversations, tell me if this sounds familiar to you, in which someone comes up to me in a very confessional way and they say, I know I should test, but, does this sound familiar? And how many Hail Marys do we make them say? And I say, my son, sit-- I know I should test, but I just can't get myself to do it, and I don't know how to do it, it seems like a lot of friction, I got stuff to do. So, some day I'm going to do it. And I was one of those guys, right? You were one of those guys. I saw the value in testing, you didn't have to give me the spiel of why testing was wonderful and bless the water. Because you're already guilty. So, I'm going to relieve you of that guilt. And now we're going to relieve the audience of that guilt by showing them, I think, if we're lucky, that it can be fun, it can be easy, and it can be relatively friction free. And where it's not, we'll tell them Hey, this is a rough spot, and here's how you steer over it. And we'll talk about what makes a good test and what makes a bad test as we go along and how to actually think about these things. That's right. We'll see what we can do.