Module druid::tests::helpers

source ·
Expand description

Helper types for test writing.

This includes tools for making throwaway widgets more easily.

Note: Some of these types are undocumented. They’re meant to help maintainers of Druid and people trying to build a framework on top of Druid (like crochet), not to be user-facing.

Structs

  • A widget that can be constructed from individual functions, builder-style.
  • A widget that records each time one of its methods is called.
  • A recording of widget method calls.
  • A widget that can replace its child on command

Enums

  • A recording of a method call on a widget.

Constants

Traits

Functions

Type Definitions