Sunday, June 4, 2023

Hey Google Bard, please write a Salesforce Apex Trigger

Functional Test Case 

Given An existing Contact 
When A user updates an existing Contact email address 
Then Timestamp a field on the Contact record, Email_Updated_Date__c, with the current date/time 

Test Driven Development 

Bard Prompt 

Bard Prompt Results


Unit Test Results


No comments:

Post a Comment