Test Driven Development for Java/JEE Applications

CloudLabs

Projects

Assignment

24x7 Support

Lifetime Access

.

Course Overview

Test Driven Development with Java Training course teaches the popular and productive Test Driven Development (TDD) techniques in the context of Java. In this course participants learn how to write reliable bug-free applications using Test Driven Development. This hands-on course brings together a variety of techniques strategies and patterns of Test Driven Development. You will learn how to start applying the Test Driven Development on your project identifying the tests from requirements and then applying the heartbeat of test-code-refactor steps. The course will practically introduce refactorings that lead to better and reliable designs and code and also introduce a number of testing patterns and strategies.

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

  1. Apply Test Driven Development with Eclipsen
  2. Identify testsn
  3. Organize and execute tests leading to clear designs and reliable coden
  4. Recognize *bad smells* and refactor code and testsn
  5. Get the maximum value out of the Eclipse for Test Driven Development

Pre-requisite

  1. Attendees must be proficient in Java

Duration

2 days

Course Outline

  1. Why Test Driven Development?
  2. Automating Tests
  3. Fundamentals of Test-First Approach
  4. The Process
  5. The Heartbeat: Test-Code-Refactor
  1. Writing Tests with JUnit
  2. Test Cases
  3. Assertions
  4. Set-up and Tear-Down
  5. Test Suites
  6. Organizing Tests
  7. Reporting Results
  8. Eclipse and JUnit
  9. Ant and JUnit
  1. The Starting Point: Requirements
  2. Creating Tests from Requirements
  3. Selecting the First Test
  4. Failing the Test
  5. Passing the test
  6. The ‘Next’ Test
  7. Refactorings: Changing the Design in Small Steps
  8. Introducing Error Handling
  9. Improving the Test Driven Development Cycles
  1. Creating Tests from Requirements
  2. Selecting the First Test
  3. Failing the Test
  4. Passing the test
  5. The ‘Next’ Test
  6. Refactorings: Changing the Design in Small Steps
  7. Introducing Error Handling
  8. Improving the Test Driven Development Cycles
  1. Code Smells
  2. Migrate Data
  3. Extract Method
  4. Inline Method
  5. Extract Interface
  6. Move Method
  7. Method Object
  8. Add Parameter
  9. Method Parameter to Constructor Parameter
  10. Refactoring using Eclipse
  1. Unit Testing Database
  2. Creating Database Tests
  3. Database Testing Patterns
  1. Testing the Server Side
  2. Testing Web Applications
  3. Testing EJB Applications

Reviews