Skip to content

Action: Verification/Assertion Step #61

Description

@I-Dont-Remember

As a user, there are times I want to assert that a certain value exists or is correct, even if there was no actual code exception raised.

This is very beneficial for integration tests of Workflow Buddy, but has potential to be useful for other domains as well - there's a reason assert is built into Python and other languages have similar functionality.

DynamoDB querying might be a decent UX to take inspiration from:

  • in - user has to give a variable to test (assumed string), and a piece of text (str) that we are expecting
  • =/=>/<= - We'd assume that we are given a valid int/float to parse
    • = is also a useful utility for strings - it can be accomplished the same way with a in b if they are equal, so can get away with not supporting here
  • exists? - base case to check that it has some value and isn't an empty string. This isn't that great.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions