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_entityfind_no_entityfind_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 |