Summary
Agentforce is not using the latest Assert class when generating new test methods for a class. It is still using System.(assert methods) and not using Assert.(methods)
Steps To Reproduce:
Use Agentforce for developers to generate new test methods for a class
Expected result
Assert.isTrue(condition, message);
Actual result
System.assert(condition);
Additional information
None
Salesforce Extension Version in VS Code:
Version 63.9.2
Salesforce Einstein For Developers Version in VS Code:
Version 2.3.0
OS and version:
Windows 11
VS Code version:
Version 1.99.3
Summary
Agentforce is not using the latest Assert class when generating new test methods for a class. It is still using System.(assert methods) and not using Assert.(methods)
Steps To Reproduce:
Use Agentforce for developers to generate new test methods for a class
Expected result
Assert.isTrue(condition, message);
Actual result
System.assert(condition);
Additional information
None
Salesforce Extension Version in VS Code:
Version 63.9.2
Salesforce Einstein For Developers Version in VS Code:
Version 2.3.0
OS and version:
Windows 11
VS Code version:
Version 1.99.3