auth
無料Authentication and authorization patterns for Rossoctl services
日本語の概要は準備中です。原文の説明を表示しています。
Add test infrastructure and initial test coverage to a target repo
日本語の概要は準備中です。原文の説明を表示しています。
実行スコア 未検証
インストール方法を見るインストールする前に、エージェントに与えられる指示の中身を確認できます。
flowchart TD
START(["/orchestrate:tests"]) --> READ["Read plan"]:::orch
READ --> DETECT["Detect test framework"]:::orch
DETECT --> CONFIG["Create test config"]:::orch
CONFIG --> CRITICAL["Identify critical paths"]:::orch
CRITICAL --> WRITE["Write initial tests"]:::orch
WRITE --> BRANCH["Create branch"]:::orch
BRANCH --> SIZE{Under 700 lines?}
SIZE -->|Yes| PR["Commit + open PR"]:::orch
SIZE -->|No| SPLIT["Split into sub-PRs"]:::orch
SPLIT --> PR
PR --> DONE([Phase complete])
classDef orch fill:#FF9800,stroke:#333,color:white
Follow this diagram as the workflow.
Add test infrastructure and initial test coverage. This is Phase 3 and produces PR #2. Tests come before CI and security — good test coverage is a safety net for the code refactoring that security/quality fixes require.
orchestrate:plan identifies tests as a needed phase.repos/<target>/| Marker | Language | Framework | Assertion |
|---|---|---|---|
pyproject.toml | Python | pytest | built-in assert |
go.mod | Go | testing (stdlib) | testify |
package.json | Node | jest or vitest | built-in expect |
requirements.yml | Ansible | molecule | testinfra |
Check existing tests:
find .repos/<target> -type f \( -name "test_*.py" -o -name "*_test.go" -o -name "*.test.*" \) 2>/dev/null
tests/conftest.py — shared fixturestests/__init__.py — package markerpyproject.toml — add [tool.pytest.ini_options] with testpaths = ["tests"]*_test.go files alongside sourcetestdata/ for fixturesinternal/testutil/ for shared helpersjest.config.ts or vitest.config.ts at root__tests__/ directory or *.test.ts alongside sourcemolecule/default/ with molecule.yml, converge.yml, verify.ymlFrom the scan report, find highest-impact areas:
Prioritize smoke tests across areas over exhaustive coverage of one area.
| Language | Convention | Example |
|---|---|---|
| Python | test_<what>_<condition> | test_create_user_returns_201 |
| Go | Test<What><Condition> | TestCreateUserReturns201 |
| Node | describe/it blocks | it('returns 201 when creating user') |
git -C .repos/<target> checkout -b orchestrate/tests
git -C .repos/<target> diff --stat | tail -1
If over 700 lines, split: framework setup in PR #3a, tests in PR #3b.
test:write — guide for writing new teststdd:ci — workflow for iterating on CI test failuresgit -C .repos/<target> add -A
git -C .repos/<target> commit -s -m "feat: add test infrastructure and initial test coverage"
git -C .repos/<target> push -u origin orchestrate/tests
Set tests to complete in phase-status.md.
orchestrate — Parent routerorchestrate:precommit — Previous phase (linting foundation)orchestrate:plan — Defines test phase tasksorchestrate:ci — Next phase (automates running these tests)test:write — Detailed test writing guidetdd:ci — CI-driven TDD workflowまだレビューはありません。使ってみた感想をお寄せください。
ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。
まだコメントはありません。最初のコメントを書いてみませんか。
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
日本語の概要は準備中です。原文の説明を表示しています。