Skip to content

Please add user-defined object comparison support #83

Description

@qilinO-o

User-defined object comparison is currently supported by as-test and as-pect.
Simply, as-test do it with a JSON string compare, something like this:

this.left.set(JSON.stringify<T>(this._left));
this.right.set(JSON.stringify<T>(equals));

And as-pect do it with a somehow reflection mechanism.
I think user-defined object comparison is crucial for the unit test framework. Hope it will be supported soon.

Activity

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

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