Skip to content

kittest 0.2.0 - Trait based node

Latest
Compare
Choose a tag to compare
@lucasmerlin lucasmerlin released this 10 Jul 14:00
· 4 commits to main since this release

kittest::Node was removed in favor of kittest::NodeT, a trait which you implement for your test frameworks
node type to unlock the kittest functionality.

This has several advantages:

  • You can add conversions of e.g. Rect types to the one native to your framework.
  • You can provide access to data kittest has no knowledge of
  • You can implement event / input helpers that use the types from your framework and match your framework's idioms.

Full list of changes: