Skip to content

Feat: Custom Assertions #104

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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