bevy-test-harness 0.1.0

Simple test harness for Bevy applications.
Documentation
  • Coverage
  • 13.04%
    3 out of 23 items documented0 out of 3 items with examples
  • Size
  • Source code size: 457.38 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 4.38 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 3m 10s Average build duration of successful builds.
  • all releases: 3m 10s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • ada-x64/bevy-test-harness
    4 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • ada-x64

This is a simple test harness for bevy projects.

Features

  • Utility functions for easy, step-based testing.
  • Timeout functionality
  • Logging utilities
    • Log the world hierarchy in a simple and readable format
    • Add names for common types
    • Log capturing
  • Utilities for finding specific entities (by name) and testing their properties.
    • find_entity
    • find_no_entity
    • find_entity_filtered<QueryFilter>
    • find_no_entity_filtered<QueryFilter>
    • find_entity_with<Component>

Stretch goals

  • Headless rendering support
  • Screenshots
  • Scene snapshots
  • Replay
  • Reporting

Non-goals

  • Advanced trace viewer (a la playwright)
  • Benchmark functionality

Compatibility table

bevy_test_harness bevy
main 0.18