Get available expect methods for a specific Expectation interface
Lists available assertion methods for a given Probitas Expectation interface.
/plugin marketplace add probitas-test/claude-plugins/plugin install probitas@probitas-testhaiku# Get methods for HTTP response expectations
/probitas:probitas-expect-methods HttpResponseExpectation
# Get methods for SQL query result expectations
/probitas:probitas-expect-methods SqlQueryResultExpectation
# Get methods for MongoDB find result expectations
/probitas:probitas-expect-methods MongoFindResultExpectation
# Get methods for RabbitMQ publish result expectations
/probitas:probitas-expect-methods RabbitMqPublishResultExpectation
HttpResponseExpectation, GraphqlResponseExpectation, SqlQueryResultExpectation, RedisExpectation, MongoFindResultExpectation, RabbitMqPublishResultExpectation, SqsSendResultExpectation, DenoKvGetResultExpectationRun the following command with the provided interface name:
deno doc --json jsr:@probitas/expect 2>/dev/null | jq -r '.nodes[] | select(.name == "INTERFACE_NAME") | .interfaceDef.methods[] | .name'
Replace INTERFACE_NAME with the interface name provided by the user.
A clean list of method names available for that interface:
toBeOk
toHaveStatus
toHaveStatusText
toHaveJson
toHaveJsonMatching
toHaveJsonProperty
...
MongoFindResultExpectation, not just MongoExpectation)