Skip to content

Bug in Test class generation #159

Description

@rudixniehaus

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    owned by another teamWe are maintaining this feedback for visibility but it is not within the control of our team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions