Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个用例,我想在本地测试 GCP Pub/Sub 主题的权限 (IAM)。官方文档提供了一个示例代码。
我正在尝试使用 pub/sub 模拟器在本地测试我的应用程序,但它有一些限制(不实现权限)。
有人可以帮我知道 - 我如何在本地测试权限?我需要为此编写单元测试和集成测试。