bevy-test-harness

Crates.iobevy-test-harness
lib.rsbevy-test-harness
version0.1.0
created_at2026-01-25 20:53:00.778751+00
updated_at2026-01-25 20:53:00.778751+00
descriptionSimple test harness for Bevy applications.
homepage
repositoryhttps://github.com/ada-x64/bevy-test-harness
max_upload_size
id2069514
size457,385
Phoenix Mandala (ada-x64)

documentation

README

Illustration of a common robin with worms in its mouth. Text, 'bevy test harness'

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
Commit count: 7

cargo fmt