docs: live MCP tests are out of scope, not deferred
No //go:build live smoke. Tests stop at rhntest and env-token Login.
This commit is contained in:
@@ -23,6 +23,7 @@ A standalone Go module at `/fast/projects/golang/robinhood-agentic-mcp` that:
|
||||
- Codegen from `tools/list`.
|
||||
- Proxying or re-hosting the MCP as a server.
|
||||
- Banking / credit-card MCP (`agent.robinhood.com` non-trading endpoints).
|
||||
- Live MCP or browser-OAuth tests (`//go:build live` smokes included). Tests stop at `rhntest` and env-token `Login`.
|
||||
|
||||
## Operator contract
|
||||
|
||||
@@ -363,7 +364,7 @@ Required tests:
|
||||
- `ToolError` is `errors.As`-able.
|
||||
- Coverage: frozen `testdata/tools.json` from live `tools/list` must have a method for every name.
|
||||
|
||||
No live-MCP or browser-OAuth in default `go test`. An optional `//go:build live` smoke is out of v1.
|
||||
No live-MCP or browser-OAuth tests, including `//go:build live` smokes. Not deferred — not in this library.
|
||||
|
||||
## Package map
|
||||
|
||||
@@ -378,7 +379,7 @@ No live-MCP or browser-OAuth in default `go test`. An optional `//go:build live`
|
||||
|
||||
## Success criteria
|
||||
|
||||
- `go test ./...` passes with no live network (httptest mock only).
|
||||
- `go test ./...` passes with no live network (httptest mock only). There is no live-MCP test target.
|
||||
- Typed methods work with an injected `Caller` **and** round-trip through `rhntest`.
|
||||
- `Connect`/`Login` accept `Config.Name` / `Config.Version`; empty uses library defaults.
|
||||
- `Login` with `ROBINHOOD_ACCESS_TOKEN` writes `0600` tokens.
|
||||
|
||||
Reference in New Issue
Block a user