commit | 2d13fdb81b2e4151e7c7ac124801ed532abc00c8 | [log] [tgz] |
---|---|---|
author | ilist <ilist@google.com> | Fri Mar 05 05:42:56 2021 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Mar 05 05:43:55 2021 -0800 |
tree | c65414cf9e5f3ca9224ee447e61c1d00ab25493f | |
parent | 4928295b236ec8f590a7e9d863502bc2f50a77d9 [diff] |
Provide mechanism to use "data" attribute in Bazel tests. When supplying artifacts with "data" to Bazel tests, the file (for example tools/dir/file) is located in runfiles/sandbox at "../io_bazel/" (so in ../io_bazel/tools/dir/file). For purpose of mocking one needs to copy file from there to root dir (creating tools/dir/file). PiperOrigin-RevId: 361126904
{Fast, Correct} - Choose two
Build and test software of any size, quickly and reliably.
Speed up your builds and tests: Bazel rebuilds only what is necessary. With advanced local and distributed caching, optimized dependency analysis and parallel execution, you get fast and incremental builds.
One tool, multiple languages: Build and test Java, C++, Android, iOS, Go, and a wide variety of other language platforms. Bazel runs on Windows, macOS, and Linux.
Scalable: Bazel helps you scale your organization, codebase, and continuous integration solution. It handles codebases of any size, in multiple repositories or a huge monorepo.
Extensible to your needs: Easily add support for new languages and platforms with Bazel's familiar extension language. Share and re-use language rules written by the growing Bazel community.
Follow our tutorials:
See CONTRIBUTING.md