Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
bevyengine
GitHub Repository: bevyengine/bevy
Path: blob/main/tools/compile_fail_utils/tests/example.rs
6596 views
1
fn main() -> compile_fail_utils::ui_test::Result<()> {
2
// Run all tests in the tests/example_tests folder.
3
// If we had more tests we could either call this function
4
// on every single one or use test_multiple and past it an array
5
// of paths.
6
//
7
// Don't forget that when running tests the working directory
8
// is set to the crate root.
9
compile_fail_utils::test("example_tests", "tests/example_tests")
10
}
11
12