Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Learn TDD in 24 hours
Rating: 4.5 out of 5(5,448 ratings)
21,858 students
Last updated 8/2015
English

What you'll learn

  • Write automated unit tests
  • Practice Test-Driven Development in real code
  • Know about good unit testing patterns and practices
  • Use mock objects to write real isolated unit tests

Course content

5 sections22 lectures2h 13m total length
  • Why should we test software?10:35

    Why should we test software? In this chapter, you will see that is really easy to write a bug -- in fact, more easy than we wanted it to be. How to find them? Testing the software, of course.

  • Our first unit test12:15

    Now, it is time for us to write our first automated testing. And you will see that is looks like the code you've written in your first programming class -- yes, it is that easy. I will introduce you to JUnit, ladies and gentlemen.

  • Tests, tests, tests!4:50

    Now you know how to write an unit test. Now, it is time to cover all possible scenarios. Let's write all the tests we can!

  • Eclipse shortcuts0:29
  • A real (and sad) story4:25

    I will open my heart in here. I will tell you a real story about how a bug caused me a lot of troubles. And I bet you have a similar story. Hope you get even more motivated to study software testing.

  • Time to practice!0:17

    It is your time to code (and test)!

  • Getting started with unit tests

Requirements

  • Students must know Java and have the Eclipse IDE installed.

Description

Are you a Java developer and want to become an expert in software testing? That's the course for you! In this course, you will learn how to stop doing manual testing and start to do automated software testing.

How many times did you write a bug? How many times did you change the software and didn't test it all? Testing software is an art. And surprisingly easy! During the videos, we will see many real world classes that need to be tested.

In a nutshell, you will see that writing a test is almost like writing all those "main methods" you have written during your first programming lessons. Then, you will see how to do it professionally. And by professional, I mean learn how to have a good testing code, how to simulate databases using mock objects, and even how to practice Test-Driven Development, which is about writing the test code prior to the production code (and yes, that are many advantagens when doing it!).

Good developers write good code. And good code is, among many other things, code that work. Let's learn how to test software and never have a bug again!

Who this course is for:

  • Developers that are tired to produce code that does not work.
  • Developers that want to improve their code quality using TDD