rmv-bevy-testing-tools 0.7.2

Write simple tests for bevy systems, using rstest, insta, and speculoos.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# BasicQuery

```rust
use bevy::prelude::*;
use rmv_bevy_testing_tools::prelude::*;
use rstest::rstest;
#[rstest]
fn some_test(#[from(test_app)] mut app: TestApp) {
    // ...
    if app.query_any::<&Camera, _>() {
        // an entity with Camera exists
    }
    if app.query_any::<(&Camera, &Transform), _>() {
        // an entity with Camera and Transform exists
    }
}
```