Skip to content

Implement Assertion constructor with test context #374

@Krinkle

Description

@Krinkle

To fix #331, and generally make our code more scaleable and flexible.

Each test() will be given an instance of Assertion which has an internal reference back to the Test object, so that they can easily be called asynchronously.

In addition to the assertion helpers, it could have the following built-in to the context based system as well:

  • async()
  • done()
  • expect()
  • .not (instance of itself with internal reversal)

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions