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
What exactly is this unit we are testing?
Definitions
- API - Application Programming Interface
Read more
- Re-thinking the Unit Test - Definition
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
So that of course probably
triggered you to ask the question,
0:00
well what's this unit that's being tested?
0:00
I'm glad you asked.
0:04
A unit in this case is unfortunately one
of those self contained definitions.
0:06
The most definition used is this.
0:09
Unit.
0:13
The smallest testable
part of an application.
0:13
That's not a very satisfying answer,
is it?
0:16
I mean sometimes this is clear,
but often times it's not.
0:18
This lack of a proper definition
definitely causes some confusion and,
0:22
of course, arguments amongst developers.
0:26
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