Module masonry::testing

source ·
Expand description

Helper tools for writing unit tests.

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
  • A safe headless environment to test widgets in.

Enums§

  • A recording of a method call on a widget.

Constants§

Traits§

Functions§

  • Convenience function to return an arrays of unique widget ids.