auth
免费Authentication and authorization patterns for Rossoctl services
中文简介正在准备中。当前显示原文说明。
Review tests for quality - assertive checks, no hidden skips, proper coverage
中文简介正在准备中。当前显示原文说明。
实测评分 未实测
查看安装方法安装前可以查看交给 AI 代理的指令内容。
Review test quality to ensure tests actually catch failures.
| Anti-Pattern | Problem | Fix |
|---|---|---|
assert True | Always passes, tests nothing | Assert specific values |
@pytest.mark.skip without reason | Hides failures silently | Add reason or remove |
@pytest.mark.xfail without ticket | Accepted failures without tracking | Link to issue |
try/except: pass in test | Swallows errors | Let exceptions propagate |
assert response is not None | Only checks existence, not correctness | Assert status code + content |
assert len(items) > 0 | Doesn't verify content | Assert specific items or properties |
| Empty test body | Test exists but does nothing | Implement or delete |
Hardcoded timeouts sleep(30) | Flaky, slow | Use wait_for / retry pattern |
@skip has a reason and linked issue@xfail references a ticketSearch for anti-patterns in test files:
grep -rn "assert True\|assert False\|@pytest.mark.skip\|@pytest.mark.xfail\|pass$" rossoctl/tests/
Search for weak assertions:
grep -rn "is not None\|!= None\|assert .*>" rossoctl/tests/ | grep -v "# ok"
test:write - Write new tests following standardstest:run-kind - Run tests on Kindtest:run-hypershift - Run tests on HyperShifttdd:ci - TDD workflow that includes test review还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Authentication and authorization patterns for Rossoctl services
中文简介正在准备中。当前显示原文说明。
Create confidential OAuth2 clients in Keycloak for server-to-service authentication
中文简介正在准备中。当前显示原文说明。
Configure MLflow with mlflow-oidc-auth plugin for Keycloak OIDC authentication
中文简介正在准备中。当前显示原文说明。
Configure OpenTelemetry Collector with OAuth2 authentication for trace export
中文简介正在准备中。当前显示原文说明。
CI pipeline monitoring, status checks, and PR validation workflows
中文简介正在准备中。当前显示原文说明。
Monitor running CI jobs, wait for completion, create tasks for results
中文简介正在准备中。当前显示原文说明。