Skip to content

Feat: Custom Assertions #104

@codefriar

Description

@codefriar

Summary

As a developer, I'd appreciate having some fine grained custom asserts that are baked into the Assert class so that I can do things like Assert.isAccount(obj, friendly message) or Assert.caseCreated() etc.

Suggested Solution

shadow the Assert class - ie: create an Assert Class that contains passthrough methods calling System.Assert.* as well as our custom methods.

Alternative Solutions

Bug the Apex team to allow us to extend Assert.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions