Contact Us info@learnquest.com

??WelcomeName??
??WelcomeName??
photo

Thank you for your interest in LearnQuest.

Your request is being processed and LearnQuest or a LearnQuest-Authorized Training Provider will be in touch with you shortly.

photo

Thank you for your interest in Private Training.

We look forward to helping you develop the perfect training solution to help you meet your company's goals.

For immediate assistance, speak with one of our representatives using the chat module below. Otherwise, LearnQuest or a LearnQuest-Authorized Training Provider will be in touch with you shortly.

photo

Thank you for your interest in LearnQuest!

Now, you will be able to stay up-to-date on our latest course offerings, promotions, and training discounts. Watch your inbox for upcoming special offers.

title

Date: xxx

Location: xxx

Time: xxx

Price: xxx

Please take a moment to fill out this form. We will get back to you as soon as possible.

All fields marked with an asterisk (*) are mandatory.

Mastering Test-Driven Development using JUnit

Course content updated by LearnQuest
Price
2,925 USD
5 Days
EJCJ-520
Classroom Training, Online Training
Oracle
Prices reflect a 22.5% discount for IBM employees.
Prices shown are the special AWS Partner Prices.
Prices reflect the Capgemini employee discount.
Prices reflect the UPS employee discount.
Prices reflect the ??democompanyname?? employee discount.
GSA Private/Onsite Price: ??gsa-private-price??
For GSA pricing, please go to GSA Advantage.
This course is eligible for the IBM Full Access Training Pass
Enroll today and save 10% on this course. Use promo code CLOUD10 when registering.
Working on a laptop
Gain access to IBM’s library of digital, on-demand courses for one low annual subscription fee
IBM Full Access Training Pass

BOGO OFFER Enroll two students, and get the second enrollment half off!

Offer expires on November 30, 2021. Use Promo Code BOGO50 on checkout.

Learn More

Class Schedule

Delivery Formats

Sort results

Filter Classes

Guaranteed to Run

Modality

Location

Language

Date

  • Date: 13-Dec-2021 to 17-Dec-2021
    Time: 9AM - 5PM US Eastern
    Location: Virtual
    Language: English
    Delivered by: LearnQuest
    Price: 2,925 USD
  • Date: 7-Feb-2022 to 11-Feb-2022
    Time: 9AM - 5PM US Eastern
    Location: Virtual
    Language: English
    Delivered by: LearnQuest
    Price: 2,925 USD
View Global Schedule

Course Description

Overview

This Mastering Test-Driven Development using JUnit course is designed to provide students with a five-day, comprehensive hands-on test-driven development / JUnit / TDD training course geared for developers who need to get up and running with essential Test-driven development programming skills, using JUnit and various open-source testing frameworks. Throughout the course students learn the best practices for writing great programs in Java, using test-driven development techniques. This comprehensive course also covers essential TDD topics and skills.

Students who attend Mastering Test-Driven Development using JUnit will leave the course armed with the skills they require to develop solid Java programs, using sound coding testing techniques and best coding practices. This course quickly introduces developers to the features of JUnit and educates them regarding JUnit’s strengths and weaknesses.

The following JUnit-based testing frameworks are examined:
  • JUnit 4.x
  • EasyMock
  • PowerMock
  • jWebUnit
  • DBUnit

     

    This course is one step in the following Learning Journey:

    1. Java - Core

Objectives

Upon completion of the Mastering Test-Driven Development using JUnit course, students will be able to:
  • Test basic Java functionality
  • Test web-functionality implemented in JEE
  • Use mocks for needed resources
  • Replace mocks and test database operations
  • Integrate the layers of the application using Spring and testing as they progress
  • Understand JUnit.
  • Understand and use the JUnit Test Runner interface.
  • Use JUnit to drive the implementation of Java code.
  • Test applications using native IDE support.
  • Use best practices and patterns for test development.
  • Understand JUnit’s strengths and weaknesses
  • Understand the role of debugging when done in conjunction with tests.
  • Understand not only the fundamentals of the TDD using Java, but also its importance, uses, strengths and weaknesses.
  • Understand how JUnit affects your perspective on development and increases your focus on a task.
  • Learn good JUnit coding style.
  • Create well structured JUnit programs.
  • Compile and execute programs using JUnit, jWebUnit, and DBUnit using the IDE of your choice.
  • How to extend testing with mock objects using EasyMock.
  • Look at refactoring techniques available to make code as reusable/robust as possible.
  • Discuss various testing techniques.

Audience

  • This is an intermediate-to-advanced level Java course, designed for developers who wish to get up and running on test-driven development immediately. Attendees should be familiar with Java and object-oriented technologies. Real world programming experience is a must.

Prerequisites

    • OO Java Development experience
    • JEE for Web Application Development experience

Topics

  • SESSION: INTRODUCTING TEST-DRIVEN DEVELOPMENT (TDD)
    • TEST, code, refactor, repeat
    • THE ROI of TDD
    • RATIONALE
    • ADVANTAGES
    • TOOLS
  • LESSON: JUMPSTART: JUNIT 4.X
    • JUNIT overview
    • HOW JUnit works
    • LAUNCHING tests
    • TEST suites
    • JUNIT test fixture
  • LESSON: @TEST ANNOTATION
    • TEST execution cycle
    • CHECKING for exceptions
    • USING timeouts
  • LESSON: HAMCREST
    • ABOUT hamcrest
    • THE hamcrest matcher framework
    • HAMCREST matchers
  • LESSON: PARAMETERIZED TESTS
    • INJECTING the parameters
    • SETTING the parameters
    • TEST execution cycle
    • OBSERVATIONS
  • LESSON: THEORIES
    • WRITING theory enabled tests
    • DEFINING DataPoints
    • DEFINING theories
    • OBSERVATIONS
  • LESSON: JUNIT BEST PRACTICES
    • “GOOD” tests
    • BAD smells
    • WHITE-BOX unit testing
    • JWebUnit
    • JWebUnit/HttpUnit
  • LESSON: MOCKING OF COMPOMENTS
    • WHY we use test dummies
    • MOCK objects
    • WORKING with mock objects
    • USING mocks with the user interface
    • MOCK object strategies
  • LESSON: POWERMOCK
    • EASYMOCK description and features
    • EASYMOCK object lifecycle
    • CREATE/expect phase
    • REPLAY/verify phase
    • MOCKING complex objects
    • EASYMOCK howto
  • LESSON: STATE-BASED VS. INTERACTION-BASED TESTING
    • STATE-based vs. INTERACTION-based testing
    • STATE-based testing
    • INTERACTION-based testing
    • PROS and cons of each
  • LESSON: IMPROVING CODE QUALITY THROUGH REFACTORING
    • REFACTORING overview
    • REFACTORING and testing
    • REFACTORING to design patterns
    • NAME conventions
  • LESSON: DATABASE TESTING
    • DATABASE testing: dbunit
    • ISSUES related to database testing
    • PERSISTENCE mechanisms
    • DBUNIT
  • APPENDIX: ADDING TESTING TO THE BUILD PROCESS
    • JUNIT and Ant
    • THE Ant Junit tag
    • RUNNING Junit tests from Ant
    • GENERATING a JUnitReport
  • 2020 Top 20 Training Industry Company - IT Training

    Need Help?

    Call us toll free at 877-206-0106 or e-mail us at info@learnquest.com

    Personalized Solutions

    Need a personalized solution for your training? Contact us, and one of our advisors will help you find the best solution to your training needs.

    Contact us

    Need Help?

    Do you have a question about the courses, instruction, or materials covered? Do you need help finding which course is best for you?

    Talk to us

    Self-Paced Training Info

    Learn at your own pace with anytime, anywhere training

    • Same in-demand topics as instructor-led public and private classes.
    • Standalone learning or supplemental reinforcement.
    • e-Learning content varies by course and technology.
    • View the Self-Paced version of this outline and what is included in the SPVC course.
    • Learn more about e-Learning

    Course Added To Shopping Cart

    bla

    bla

    bla

    bla

    bla

    bla

    Self-Paced Training Terms & Conditions

    ??spvc-wbt-warning??
    ??group-training-form-area??
    ??how-can-we-help-you-area??
    ??personalized-form-area??
    ??request-quote-area??

    Sorry, there are no classes that meet your criteria.

    Please contact us to schedule a class.
    Nothing yet
    here's the message from the cart

    To view the cart, you can click "View Cart" on the right side of the heading on each page
    Add to cart clicker.

    Purchase Information

    ??elearning-coursenumber?? ??coursename??
    View Cart

    Need more Information?

    Speak with our training specialists to continue your learning journey.

     

    Delivery Formats

    Close

    By submitting this form, I agree to LearnQuest's Terms and Conditions

    heres the new schedule
    This website uses third-party profiling cookies to provide services in line with the preferences you reveal while browsing the Website. By continuing to browse this Website, you consent to the use of these cookies. If you wish to object such processing, please read the instructions described in our Privacy Policy.
    Your use of this LearnQuest site affirms your consent to our use of session and persistent cookies to track how you use our website.