Finds the file path of a resource which was built alongside a test binary.
Declared in <folly/testing/TestUtil.h>
fs::path
find_resource(std::string_view resource);
Care must be taken to set up the test and resource build rules in accordance with this function.
The file path of the resource.
| Name | Description |
|---|---|
| resource | The name of the resource to locate. |