YouTube home Comedy Week on YouTube
Upload

"The Clean Code Talks -- Unit Testing"

GoogleTechTalks GoogleTechTalks·1,782 videos
147,719
95,745
Like     Dislike 21

Sign in to YouTube

Sign in with your Google Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to like GoogleTechTalks's video.

Sign in to YouTube

Sign in with your Google Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to dislike GoogleTechTalks's video.

Sign in to YouTube

Sign in with your Google Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to add GoogleTechTalks's video to your playlist.

Uploaded on Nov 1, 2008

Google Tech Talks
October, 30 2008

ABSTRACT

Clean Code Talks - Unit Testing

Speaker: Misko Hevery

Loading icon Loading...

Loading icon Loading...

Loading icon Loading...

The interactive transcript could not be loaded.

Loading icon Loading...

Loading icon Loading...

Ratings have been disabled for this video.
Rating is available when the video has been rented.
This feature is not available right now. Please try again later.

Top Comments

  • succelus

    Keep the good Talks !

    · 30

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate succelus's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate succelus's comment.
  • neohubris

    great talk!

    · 6

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate neohubris's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate neohubris's comment.

All Comments (38)

Sign in now to post a comment!
  • bhavik shah

    "How do we write hard to test code? We mix object creation code with business logic. This will assure that a test (test case) can never construct a graph of objects (object graph - mocks, fakes, stubs, proxies) different from production. Hence nothing can be tested in isolation."

    · 3

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate bhavik shah's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate bhavik shah's comment.
  • deepak balasubramanian

    check for conversation display.... unit testing

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate deepak balasubramanian's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate deepak balasubramanian's comment.
  • deepak balasubramanian

    Post from shared Message.... !@# diff

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate deepak balasubramanian's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate deepak balasubramanian's comment.
  • Jesper Heilmann

    Constructor paradigm:

    Ask for needed objects (by parameters)

    Do not instantiate dependencies.

    (Separating Object graph construction from business logic)

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Jesper Heilmann's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Jesper Heilmann's comment.
  • senihokur

    back when I watched this first time, I thought testing a car was just an analogy

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate senihokur's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate senihokur's comment.
  • Vijay S

    Here is the good explanation of unit testing: softwaretestinghelp[dot]com/un­it-testing/

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Vijay S's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Vijay S's comment.
  • Ilya Ivanov

    agree, a lot of literature covers topic, like "why procedural code is much easier to test". If you have a static method with big, unmockable side effects, than this code is bad by procedural standards. Pure procedural functions don't have side effects which is golden grail for testing.

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Ilya Ivanov's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Ilya Ivanov's comment.
    in reply to Mohan Ambalavanan (Show the comment)
  • mLovelady30

    thegoodteacher(dot)com

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate mLovelady30's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate mLovelady30's comment.
  • Loading comment...
Loading...
Loading...
Working...
Sign in to add this to Watch Later