Bummer! This is just a preview. You need to be signed in with a Basic account to view the entire video.
Start a free Basic trial
to watch this video
Wrap up time. See you soon partner.
-
0:00
I just got off the phone with text and
-
0:02
told him that we were really close to wrapping up the fully tested prototype.
-
0:06
He said that he was happy as all get out,
-
0:08
and that we moved as fast as grease lightning.
-
0:12
I told him there were only a few pieces left to test, and
-
0:15
that we'd get to it right away.
-
0:17
So how did it feel?
-
0:18
Did you get test infected?
-
0:19
I can't tell you how good it feels to finally
-
0:22
introduce you to this practice of unit testing.
-
0:24
We picked up a lot of new tricks and best practices along the way.
-
0:28
I hope you had as much fun one as I did.
-
0:30
You'll be getting lots of practice as your adventures here on Tree House continue.
-
0:34
I encourage you to browse open source projects and look at their test suites.
-
0:38
If you see test methods that you can add, feel free to do so.
-
0:42
After checking the contributor's guidelines, of course.
-
0:45
I want to share one of my favorite quotes about testing here.
-
0:48
Whenever you're tempted to type something into a print statement or
-
0:51
a debugger expression, write it as a test instead.
-
0:54
It's true.
-
0:55
Not only will your test then last forever but it will also help others understand
-
1:00
that your code is working how you intended it to.
-
1:04
There is still more to learn in the unit testing world.
-
1:07
And I would love to walk you through the practice of TDD, or
-
1:10
Test Driven Development.
-
1:11
What to remember is where you write the test before writing any code.
-
1:15
Our project was a little more like text driven development, am I right?
-
1:19
I can't believe you made it through all these jokes and you're still here with me.
-
1:23
Oh, speaking of text, he wanted to let you know that
-
1:26
not only are the stars in Texas big and bright, but your brains are too.
-
1:31
You pick this stuff up really quick.
-
1:33
This solution we're providing is going to help change his business, and
-
1:36
he says, my lands!
-
1:38
I thank you kindly!
-
1:40
Thanks so much for hanging out with me and Tex.
-
1:42
We'll see you next time, right after we wrap up these last few tests.
You need to sign up for Treehouse in order to download course files.
Sign up