Skip to content

Add config dictionary of explicit messages to fail #369

@apng1982

Description

@apng1982

Enables testing of specific OrganizationRequest failures, also supporting failures on specific records.

Example use case: I want to be able to test a catch block when a SetStateRequest fails

Example use case: I want to be able to test a catch block when a foreach of SetStateRequest's succeeds on all records but those specifically configured to fail

Example use case: I want to be able to test the exception details returned in a catch block when a SetStateRequest fails

This should be a new node in the Simulator Options model, including a mandatory OrganizationRequest string (?), plus an optional list of GUIDs for records to specifically fail on, (and an optional exception to throw?)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions