Call : (+91) 968636 4243
Mail : info@EncartaLabs.com
EncartaLabs

TDD with Java

( Duration: 2 Days )

The Test Driven Development presents a number of modern practices for developing code based on an iterative and incremental development lifecycle. Agility and predictability are two qualities often missing from software development. A test-driven approach, in which design is grown and code delivered incrementally according to functionality or risk, forms the basis of the construction phase of an iterative and incremental development. The use of unit testing provides confidence in existing code and supports the ability to refactor code as development unfolds.

The Test Driven Development with Java training course is intended as a practical course: the best way to appreciate how test-driven development works and what it feels like is to do it in practice, making sense of the principles it embodies. In this form this course is based on lecture material, demonstration, discussion and hands-on labs.

By attending Test Driven Development with Java workshop, delegates will learn to:

  • Appreciate the benefits of a continuous and iterative approach to design and delivery
  • Recognise the purpose and practice of refactoring in keeping a system supple and adaptable
  • Know how to build up a set of unit tests in JUnit
  • Understand the consequences of dependency management on testing and code quality

Experience in Java and familiar with object-oriented principles and practices. Any previous exposure to JUnit or agile development concepts is beneficial but not essential.

  • This Test Driven Development with Java class is suitable for Software Engineers, Developers, Programmers, Architects, Senior Developers

COURSE AGENDA

1

Agile Development Microprocess

  • Traditional versus agile development processes
  • Informal and continuous design
  • The role of refactoring
  • Refactoring versus other code changes
  • Extreme Programming
  • Test-Driven Development
2

Testing in Principle

  • Traditional view and reality of testing
  • Driving development through testing
  • Testing early, often and automatically
  • Testing versus debugging
  • White-box versus black-box testing
  • Functional versus operational testing
3

Basic Unit Testing in Practice

  • Test plans versus test code
  • Use of assert
  • Testing at the interface
  • Testing the simplest things first
  • Testing incrementally
  • Testing correctness of failure
4

Overview of JUnit

  • JUnit family
  • Essential structure of the framework
  • Assertion methods
  • Testing correctness of exceptions
  • JUnit pattern usage
  • Extensions to JUnit
5

Common Refactorings

  • Common Refactorings
  • Restructuring class hierarchies by extracting interface classes, base classes and derived classes
  • Partitioning classes by extracting classes and functions
  • Changing private representation
6

Decoupling Techniques

  • Unmanaged dependencies
  • Test-driven decoupling
  • Layering
  • Eliminating cyclic dependencies
  • Mock objects
  • Eliminating Singletons, statics and other globals

Encarta Labs Advantage

  • One Stop Corporate Training Solution Providers for over 6,000 various courses on a variety of subjects
  • All courses are delivered by Industry Veterans
  • Get jumpstarted from newbie to production ready in a matter of few days
  • Trained more than 50,000 Corporate executives across the Globe
  • All our trainings are conducted in workshop mode with more focus on hands-on sessions

View our other course offerings by visiting https://www.encartalabs.com/course-catalogue-all.php

Contact us for delivering this course as a public/open-house workshop/online training for a group of 10+ candidates.

Top
Notice
X