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