mirror of
https://github.com/bevyengine/bevy
synced 2024-12-25 20:43:07 +00:00
11 lines
429 B
Rust
11 lines
429 B
Rust
|
fn main() -> bevy_compile_test_utils::ui_test::Result<()> {
|
||
|
// Run all tests in the tests/example_tests folder.
|
||
|
// If we had more tests we could either call this function
|
||
|
// on everysingle one or use test_multiple and past it an array
|
||
|
// of paths.
|
||
|
//
|
||
|
// Don't forget that when running tests the working directory
|
||
|
// is set to the crate root.
|
||
|
bevy_compile_test_utils::test("tests/example_tests")
|
||
|
}
|