Skip to content

Rewrite of the test harness #535

@matt-gadd

Description

@matt-gadd

Enhancement
The testing harness is one of the oldest parts of the codebase, and since then a number of the new patterns have emerged such as render props that it doesn't deal very well with. In Dojo 7 we'd like to revisit the harness and see how we can improve the ergonomics as well as offering more options in terms of rendering.

Some goals:

  • Expose less of the underlying DNodes to the end user, in favour of providing better mechanisms to trigger and expect assertions with.
  • Support the existing virtual rendering (no vdom at all) as well as shallow, and full rendering to actual dom.
  • First class support for render props
  • Better debugging output when assertions fail

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: testingTestingnextIssue/Pull Request for the next major version

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions