Skip to content

Improve p/uassert and p/urequire #2481

@moul

Description

@moul

Opening this "good first issue" for anyone who wants to improve uassert and urequire. There are basically three ways to do it:

  1. Add missing helpers from https://github.com/stretchr/testify/blob/master/assert/assertions.go
  2. Improve the implementation (robustness, testing, code, error output rendering, support for new types, etc.)
  3. Update the existing examples/ packages to use uassert and urequire.

Edit:

  1. Enhance the gno test and stdlibs/testing functionality to display more information, such as line and column numbers, for better debugging. Or support the use of Sprintf() for structs with private fields, which is currently blocked for security concerns (in production), but could be beneficial for testing purposes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    📥 Inbox

    Status

    Need lots of help

    Status

    Backlog

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions