Skip to content

Consider entirely removing the configuration #26

@BenWoodworth

Description

@BenWoodworth

(WIP: still expanding on my thoughts in this issue)

made sense with contextual options

  • in general
  • decorator
    • Awkward now that parameterize is inline, requiring the decorator to suspend
    • Easy to match functionality by wrapping parameterize with a specialized function
      • Which is more flexible & powerful
  • onFailure
    • Makes assumptions about failures that won't fit all projects
      • e.g. with recordFailure, there's no consideration for skip and abort exceptions and how they should be counted in the ParameterizeFailedError. This may be best left to parameterize users to decide

Removing the configuration would also mean the block can be marked as callsInPlace. It can't currently because it's wrapped in a try-catch, but since the default parameterize effectively doesn't catch at all, meaning the try-catch could be removed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions