8293  Reviews star_rate star_rate star_rate star_rate star_half

TDD and Pair Programming in JavaScript

Test-driven Development (TDD) is a software development process that focuses on writing tests before writing code. This TDD course helps students to ensure that the code is written in a way that is...

Read More
$810 USD
Duration 1 day
Course Code WA3206
Available Formats Classroom

Overview

Test-driven Development (TDD) is a software development process that focuses on writing tests before writing code. This TDD course helps students to ensure that the code is written in a way that is maintainable and extensible using JavaScript with Jest and Pair Programming.

Skills Gained

  • Test JavaScript with Jest
  • Work with Pair Programming
  • Implement TDD and Pair Programming in a JavaScript Project

Who Can Benefit

This TDD course is designed for Software Developers, Team Leads, Enterprise Architects, Solution Architects, and Information Technology Architects.

Prerequisites

Some knowledge of JavaScript is beneficial but not required.

Course Details

Outline

Chapter 1 – Test-driven Development (TDD)

  • TDD Defined
  • Why TDD
  • TDD Benefits
  • Reframing our Tests
  • RedGreen Testing
  • Unit Tests
  • The 5 Stages
  • BDD Definition
  • Gherkin Format
  • ATDD Definition
  • Comparing TDD, BDD and ATDD
  • ROLES & RESPONSIBILITIES – the three amigos

Chapter 2 – Pair Programming

  • Defined
  • Compliments TDD
  • Type 1: Driver & Navigator
  • Type 2: The Unstructured Style
  • Type 3: Strong Style Pairing
  • Type 4: Ping Pong Pairing
  • Type 5: Backseat Navigator
  • Type 6: Tour Guide
  • Stats
  • Best Practices
  • Benefits

Chapter 3 - Testing JavaScript with Jest

  • Jest Testing Framework
  • Features
  • Installation of Jest
  • A Basic Test
  • Run Test
  • Test Failures
  • Interactive Mode
  • Code Coverage
  • Unit Testing
  • Anatomy of a Unit Test
  • Expectations (Assertions)
  • Common Matchers
  • Combining Tests
  • Testing async code with done
  • Testing Promise Based Async Code
  • Setup and Teardown
  • Setup and Teardown Example
  • Method Stubbing and Call Tracking with Spies
  • A Spy Example
  • spyOn Setup Variations
  • Simulating Exceptions
  • Summary

Lab Exercises

  • Lab 1: Pair Programming Exercise
  • Lab 2. Testing JavaScript with Jest
  • Lab 3: TDD and Pair Programming Project

Schedule

FAQ

Does the course schedule include a Lunchbreak?

Classes typically include a 1-hour lunch break around midday. However, the exact break times and duration can vary depending on the specific class. Your instructor will provide detailed information at the start of the course.

What languages are used to deliver training?

Most courses are conducted in English, unless otherwise specified. Some courses will have the word "FRENCH" marked in red beside the scheduled date(s) indicating the language of instruction.

What does GTR stand for?

GTR stands for Guaranteed to Run; if you see a course with this status, it means this event is confirmed to run. View our GTR page to see our full list of Guaranteed to Run courses.

Does Ascendient Learning deliver group training?

Yes, we provide training for groups, individuals and private on sites. View our group training page for more information.

What does vendor-authorized training mean?

As a vendor-authorized training partner, we offer a curriculum that our partners have vetted. We use the same course materials and facilitate the same labs as our vendor-delivered training. These courses are considered the gold standard and, as such, are priced accordingly.

Is the training too basic, or will you go deep into technology?

It depends on your requirements, your role in your company, and your depth of knowledge. The good news about many of our learning paths, you can start from the fundamentals to highly specialized training.

How up-to-date are your courses and support materials?

We continuously work with our vendors to evaluate and refresh course material to reflect the latest training courses and best practices.

Are your instructors seasoned trainers who have deep knowledge of the training topic?

Ascendient Learning instructors have an average of 27 years of practical IT experience and have also served as consultants for an average of 15 years. To stay current, instructors spend at least 25 percent of their time learning new, emerging technologies and courses.

Do you provide hands-on training and exercises in an actual lab environment?

Lab access is dependent on the vendor and the type of training you sign up for. However, many of our top vendors will provide lab access to students to test and practice. The course description will specify lab access.

Will you customize the training for our company’s specific needs and goals?

We will work with you to identify training needs and areas of growth.  We offer a variety of training methods, such as private group training, on-site of your choice, and virtually. We provide courses and certifications that are aligned with your business goals.

How do I get started with certification?

Getting started on a certification pathway depends on your goals and the vendor you choose to get certified in. Many vendors offer entry-level IT certification to advanced IT certification that can boost your career. To get access to certification vouchers and discounts, please contact info@ascendientlearning.com.

Will I get access to content after I complete a course?

You will get access to the PDF of course books and guides, but access to the recording and slides will depend on the vendor and type of training you receive.

How do I request a W9 for Ascendient Learning?

View our filing status and how to request a W9.

Reviews

my experince was great from the day i regetered to the actuall day of the class.

Fantastic and great training. Tons of hands-on labs to really make you understand the material being thought.

Brandon was a great instructor. The virtual course materials and labs provided were very informative.

ExitCertified provided a very organized way to learn and provided materials to follow along.

The tool provided to practice the course teachings is very functional and easy to use.