[docs] add documentation on writing and wiring up rust unit tests
Adds documentation under //docs to describe best practices for test components and how to write tests for rust. Adds example hello world components with accompanying test components to //examples/hello_world. Change-Id: I8be0821baf869c9002ccafd7e94e2f7096f68f49
Showing
- bundles/BUILD.gn 1 addition, 0 deletionsbundles/BUILD.gn
- bundles/buildbot/BUILD.gn 1 addition, 0 deletionsbundles/buildbot/BUILD.gn
- docs/development/languages/rust/README.md 1 addition, 0 deletionsdocs/development/languages/rust/README.md
- docs/development/languages/rust/testing.md 85 additions, 0 deletionsdocs/development/languages/rust/testing.md
- docs/development/tests/running_tests_as_components.md 169 additions, 0 deletionsdocs/development/tests/running_tests_as_components.md
- examples/BUILD.gn 8 additions, 0 deletionsexamples/BUILD.gn
- examples/hello_world/BUILD.gn 18 additions, 0 deletionsexamples/hello_world/BUILD.gn
- examples/hello_world/README.md 52 additions, 0 deletionsexamples/hello_world/README.md
- examples/hello_world/cpp/BUILD.gn 70 additions, 0 deletionsexamples/hello_world/cpp/BUILD.gn
- examples/hello_world/cpp/hello_world.cc 10 additions, 0 deletionsexamples/hello_world/cpp/hello_world.cc
- examples/hello_world/cpp/hello_world_unittest.cc 7 additions, 0 deletionsexamples/hello_world/cpp/hello_world_unittest.cc
- examples/hello_world/cpp/meta/hello_world_cpp.cmx 5 additions, 0 deletionsexamples/hello_world/cpp/meta/hello_world_cpp.cmx
- examples/hello_world/cpp/meta/hello_world_cpp_unittests.cmx 5 additions, 0 deletionsexamples/hello_world/cpp/meta/hello_world_cpp_unittests.cmx
- examples/hello_world/rust/BUILD.gn 65 additions, 0 deletionsexamples/hello_world/rust/BUILD.gn
- examples/hello_world/rust/meta/hello_world_rust.cmx 5 additions, 0 deletionsexamples/hello_world/rust/meta/hello_world_rust.cmx
- examples/hello_world/rust/meta/hello_world_rust_bin_test.cmx 5 additions, 0 deletionsexamples/hello_world/rust/meta/hello_world_rust_bin_test.cmx
- examples/hello_world/rust/src/main.rs 24 additions, 0 deletionsexamples/hello_world/rust/src/main.rs
Loading
Please register or sign in to comment