Skip to content

Expose component testing code to outsiders #1413

@ilyvion

Description

@ilyvion

I wanted to test my component's output, and I was informed of TestLayout:

pub(crate) struct TestLayout<'a> {

Unfortunately, it's private to the crate, so it cannot be used by outsiders. Consider making TestLayout public or possibly create something more suitable for general use that could help with testing component output expectations.

Questionnaire

  • I'm interested in implementing this myself but don't know where to start
  • I would like to add this feature
  • I don't have time to add this right now, but maybe later

Metadata

Metadata

Assignees

No one assigned

    Labels

    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