AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Restassured Documentation Tdd

skill-jovd83-restassured-skill-tdd · by jovd83

Legacy Rest Assured-specific alias for TDD-style case documentation. Prefer the standalone `test-artifact-export-skill` skill for formatting approved test cases or building export-ready artifacts, and use this only when Rest Assured-local conventions must be preserved explicitly.

No reviews yet
0 installs
34 views
0.0% view→install

Install

$ agentstack add skill-jovd83-restassured-skill-tdd

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-jovd83-restassured-skill-tdd)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
4mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Restassured Documentation Tdd? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Document Test Cases In TDD

1. Store And Organize Files

  1. Store TDD documents under docs/tests/.
  2. Mirror the automation or business-domain structure with feature folders such as docs/tests/orders/ or docs/tests/auth/.
  3. Create one .md file per executable scenario, not one file per epic.
  4. Name files with a stable scenario purpose and classification such as create-order-mss.md, create-order-optional-fields-ext.md, or create-order-missing-customer-err.md.
  5. For non-trivial or high-risk requirements, document multiple scenarios:
  6. MSS for the main success path.
  7. EXT for valid variants such as optional fields or alternate filters.
  8. ERR for validation, auth, not-found, conflict, or drift behavior.
  9. For trivial low-risk reads, one MSS scenario is sufficient.
  10. Do not force redundant scenarios when the requirement has no meaningful variation.

2. Use This Exact Case Structure

  1. Write fields in this order:
  2. title
  3. description
  4. test_suite
  5. Covered requirement
  6. preconditions
  7. steps
  8. execution_type
  9. design_status
  10. test_engineer
  11. test_level
  12. jira
  13. Test script
  14. Keep title informative and unique. Include requirement or contract reference, scenario classification, and a concise behavior name.
  15. Keep preconditions as a lettered list: A), B), C).
  16. Keep steps as a markdown table with columns Step, Action, and Expected result.
  17. Keep execution_type as Automated unless the user explicitly wants manual cases.
  18. Use design_status as Draft, Ready, or Obsolete.
  19. Keep Test script granular. Link to the exact Java test file and the specific test method or display name, not only the file.

3. Make The Content API-Specific

  1. Describe API behavior, not UI behavior.
  2. Put auth state, seeded data, feature flags, or contract version details in preconditions.
  3. In steps, describe the request action at a high level and put status, content type, headers, body semantics, and side effects in Expected result.
  4. Include contract paths, operation ids, requirement ids, or acceptance-criteria ids in Covered requirement.
  5. When runtime behavior differs from the documented contract, document the live executable expectation and reference the mismatch artifact separately.

4. Start From The Template

  1. Start from [tdd-case-template.md](assets/tdd-case-template.md) for new case files.
  2. Keep the field order unchanged so later sync and traceability work stays deterministic.
  3. Use aggregate index files under docs/testing/tdd/ only as navigation aids when the repo wants them.

5. Template

title: [ORD-POST-001] MSS: Create order with required fields
description: Validates successful order creation for the standard required-field payload.
test_suite: Orders
Covered requirement: US-123, POST /api/orders, operationId=createOrder
preconditions:
A) The API is running.
B) Authentication is configured for a valid user.
C) No conflicting order id is pre-seeded.
steps:
| Step | Action | Expected result |
|---|---|---|
| 1 | Send `POST /api/orders` with a valid required-field payload | Status `201` is returned with JSON content. |
| 2 | Inspect the response body | The response includes the created order id and submitted business fields. |
| 3 | Retrieve the new order through `GET /api/orders/{id}` | The order is persisted and matches the creation response. |
execution_type: Automated
design_status: Ready
test_engineer: Codex
test_level: 1
jira: N/A
Test script: [OrderApiTest.java](C:/repo/tests/src/test/java/com/example/orders/OrderApiTest.java)#createOrderWithRequiredFields

6. Scenario Depth Decision

  1. Use MSS, EXT, and ERR for CRUD, authentication, validation-heavy, workflow, or integration-sensitive requirements.
  2. Use one MSS only for low-risk stable reads when optional data and error paths add little value.
  3. Add a dedicated drift or compatibility scenario when the live runtime contradicts the contract or requirement.

7. Examples

  1. Input: Document POST /orders missing-customer-id as TDD.

Output: A dedicated ERR markdown case with lettered preconditions, a step table, and a direct link to the negative Rest Assured test method.

  1. Input: Document the owner create flow as TDD.

Output: One MSS case for successful creation and separate EXT or ERR cases only when the requirement meaningfully varies.

8. Troubleshooting

  1. Problem: The automation file contains multiple test methods.

Fix: Point Test script to the exact method anchor, not only the file.

  1. Problem: The case reads like a raw HTTP transcript.

Fix: Keep the action concise and move the protocol details into the expected result only where they matter.

  1. Problem: A single document mixes success, variation, and error behavior.

Fix: Split it into separate scenario files and classify them as MSS, EXT, or ERR.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.