Skip to content

Testing helper package  #2494

Closed
Closed
@rigelrozanski

Description

Some of the functions such as IntEq and DecEq should be moved into an independent testing package within the sdk (probs within /tests) which contains all sorts of helpers to make writing tests in the SDK easier/quicker. In this package they should probably contain assert/require statements right in them.

quotes from #2236 (review)

Yeah cool - maybe it could be exported as a special testing-helpers package, I DO find these helper functions to be super useful / make writing tests less painful (for which we should be striving to do)
maybe a cleaner pattern would actually just be having pre-fab assert/require functions for some of the sdk primitives - therefor, we're not passing the outs from one function into the in's of the next function.

Activity

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

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions