In this video, enterprise software developer and instructor Steve Bishop provides a comprehensive guide on how to build software using the Test-Driven Development (TDD) cycle in VBA for Microsoft Access. The key points covered in the video are:
- **Understanding TDD**: You will learn what the TDD cycle is and how it can be beneficial in software development.
- **Essential Tools for TDD in VBA**: The video guides you on how to get the essential tools you need to do TDD in VBA.
- **Step-by-Step TDD**: The video provides a step-by-step guide on how to do TDD.
- **Additional Practices**: You will also learn several other practices such as ZOMBIES, Command Query Responsibility Separation (CQRS), and the rule of 3.
This video is a great resource for anyone interested in learning about TDD in VBA for Microsoft Access. It provides a clear and concise explanation of the concepts, making it easy for beginners to understand and apply these practices in their own projects.
Note: I incorrectly stated that we had been violating CQRS, but in fact we were not. We actually DO want the command to be changing state and the query to ask for the state. My brain was skipping ahead to the solution where the calculations were going to be made in the Score method instead of the Roll method. Sorry for any confusion.
Starter Project: github.com/Programming-Made-E...
00:00:00 Introduction
00:00:31 What We'll Cover
00:01:01 Scoring a 10 Pin Bowling Game
00:03:03 The Cycle of Test-Driven Development (TDD)
00:04:30 3 Laws of Test-Driven Development
00:05:38 The ZOMBIES Heuristic
00:07:14 Starter Project Overview
00:08:25 RubberDuckVBA Plugin
00:09:22 The Red Phase (Creating A Test)
00:09:58 RubberDuck Annotations
00:10:49 Writing Your First Test
00:11:51 Arrange, Act, Assert (3A's)
00:13:09 Given, When, Then
00:14:21 "Arrange" Setting the Initial State
00:16:24 The Green Phase (Making the Test Pass)
00:17:13 Running Your Tests with Test Explorer
00:18:27 The Blue Phase (Refactoring)
00:19:56 "Act" Creating the Trigger
00:22:20 "Assert" Validating the New State
00:23:42 TDD as a Whiteboard
00:25:49 Refactoring More Code
00:27:56 Naming Tests
00:29:20 The "Ones" Scenario (Red Phase)
00:31:31 The "Ones" Solution (Green Phase)
00:33:16 The "Ones" Refactor (Blue Phase)
00:34:08 The "Many" Scenario (Red Phase)
00:39:08 The "Many" Solution (Green Phase)
00:40:12 Command Query Responsibility Segregation (CQRS)
Негізгі бет Test Driven Development (TDD) in VBA for Microsoft Access With The Bowling Game Kata
Пікірлер: 5