Access JumpStart
  • Homepage
  • Email Archive
Select Page

TDD – 054 – Refactoring 2 more counting tests and starting on a third

by Jonathan Halder | Feb 27, 2024 | MS Access, MS Access VBA Coding, TDD

It is time to refactor the remaining counting tests. Here they are pre refactor: ‘@TestMethod(“Count Changes”) Private Sub WhenTwoFieldsAreChangedThenReturnTwoEntryListOfChanges() Dim testFormAuditor As FormAuditor Dim testCollection As Collection...

TDD – 053 – Refactoring the previous tests to use the new functions

by Jonathan Halder | Feb 26, 2024 | MS Access, MS Access VBA Coding, TDD

Last Test Driven Development session I refactored the last test I did to make it easier to read and understand. I created a couple of helper functions to do this. Functions that would take specified inputs, update the fields, then test to see if the resulting audit...

TDD – 052 – Woohoo, refactoring success!

by Jonathan Halder | Feb 14, 2024 | MS Access, MS Access VBA Coding, TDD

In the last email, I was considering a function that would do all the comparisons of the before and after values of the FieldChanges dictionary in the AuditEventDetails object and the Input dictionary I created. This would return a Boolean. It sounds good as I say it...

TDD – 051 – Now to refactor the test…

by Jonathan Halder | Feb 13, 2024 | MS Access, MS Access VBA Coding, TDD

Quick question to my readers: If you know a good way of highlighting the code in an email I’d like to do that. I notice that my code in the email is not marking up properly whereas it looks better on the site itself. I’m using a WordPress feed and the...

TDD – 050 – Function refactor successful

by Jonathan Halder | Feb 12, 2024 | MS Access, MS Access VBA Coding, TDD

Here we are, refactoring this function: Private Function SetFields_ChangeThem_ReturnDictionary(dctFieldName_arrStartAndEndVals As Dictionary) As Dictionary Dim testFormAuditor As FormAuditor Dim itm As Variant For Each itm In dctFieldName_arrStartAndEndVals...

TDD – 049 – Still refactoring the big change I wanted

by Jonathan Halder | Feb 9, 2024 | MS Access, MS Access VBA Coding, TDD

As I continue to refactor the test, this time I am going to try to create the dictionary object I think I want to get back and pass that to a helper function which will change the fields to the before state, instantiate the FormAuditor class, run a single BeforeUpdate...
« Older Entries
Next Entries »

Recent Posts

  • Version numbers with SVN vs Git
  • VCS plugin usage and Access Form compilation gotchas
  • Moving to an AI based Access workflow
  • Quoting Access projects
  • A few quick VBA tips for better development and deployment of your Access App

Recent Comments

  1. Jonathan Halder on Reminder: You can’t link linked Access file tables
  2. Colin Riddington on Reminder: You can’t link linked Access file tables
  3. Text File Import / Export Recipe code part 3 (implementing iImportFile) | Access JumpStart on Text File Import / Export Recipe code part 2 (AppProcedures module)
  4. Text File Import / Export Recipe code part 2 (AppProcedures module) | Access JumpStart on Text File Import / Export Recipe code
  5. Text File Import / Export Recipe code | Access JumpStart on A Reusable Recipe for Importing and Exporting Text Files in Access

Archives

  • May 2026
  • February 2026
  • January 2026
  • December 2025
  • November 2025
  • October 2025
  • September 2025
  • August 2025
  • July 2025
  • June 2025
  • May 2025
  • April 2025
  • March 2025
  • February 2025
  • January 2025
  • December 2024
  • November 2024
  • October 2024
  • September 2024
  • August 2024
  • July 2024
  • June 2024
  • May 2024
  • April 2024
  • March 2024
  • February 2024
  • January 2024
  • December 2023
  • November 2023
  • December 2022
  • March 2022
  • January 2022
  • June 2021
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020

Categories

  • Blogging
  • MS Access
  • MS Access Features
  • MS Access Forms
  • MS Access Queries
  • MS Access Reports
  • MS Access Tables
  • MS Access VBA Coding
  • TDD
  • Uncategorized
  • Versioning
Copyright © Halder Consulting Inc.