Unit Testing with JUnit

CloudLabs

Projects

Assignment

24x7 Support

Lifetime Access

.

Course Overview

In computer programming, unit testing is a method by which individual units of source code, sets of one or more computer program modules together with associated control data, usage procedures, and operating procedures are tested to determine if they are fit for use.

At the end of the training, participants will be able to:

Pre-requisite

Working experience with computers prior experience in either software testing or the software development cycle would be beneficial

Duarion

5 days

Course Outline

  1. Introduction
  2. Who This Course is For
  3. Course Overview
  4. What is JUnit?
  5. JUnit Features
  6. How JUnit Works
  7. What is Unit Testing?
  8. History Of JUnit
  9. Kent Beck
  10. Early Timeline
  11. Getting JUnit
  12. Getting Eclipse
  13. Project Overview
  14. Hello JUnit
  15. Up Next
  1. JUnit Test Methods
  2. Basic Annotations
  3. Creating A Simple Test
  4. Creating Another Test
  5. Before And After
  6. Using Before
  7. Using After
  8. BeforeClass And AfterClass
  9. Using BeforeClass And AferClass
  10. Using Ignore
  11. Exception Testing
  12. Using Expected Exceptions
  13. Timing Out
  14. Using Timeout
  15. Assertions
  16. Up Next
  1. Introduction
  2. Test Suites
  3. Creating Test Suites
  4. Categories
  5. Using Categories
  6. Parameterized Tests
  7. Creating Parameterized Tests
  8. Advanced Assertions
  9. Using Advanced Assertions
  10. Advanced Exception Testing
  11. Using Expected Exception
  12. Rules
  13. Using Rules
  14. Theories
  15. Using Theories
  16. Up Next
  1. Introduction
  2. Alternative Runners
  3. Console Runner
  4. Getting JUnit Jars
  5. Changing The Project
  6. Running From The Command Line
  7. JUnit And Ant
  8. Creating An Ant Build
  9. Running With Ant
  10. JUnit Reporting Bug
  11. Creating A Report
  12. JUnit And Maven
  13. Converting To Maven
  14. Running Tests In Maven
  15. Code Coverage
  16. Using EclEmma
  17. Cobetura
  18. Up Next
  1. Introduction
  2. Continuous Testing
  3. Using Infinitest
  4. Dependencies
  5. Stubs
  6. Adding a Dependency
  7. Creating a Stub
  8. Testing With a Stub
  9. Mocks
  10. JMock
  11. Using JMock
  12. Integration Testing
  13. The SMS Notifier
  14. Integration Test Overview
  15. Running The Integration Test
  16. Selenium
  17. Using Selenium
  18. The End

Reviews