test-shipment-trace

Automate end-to-end shipment trace tests via Bash and curl.

Updated Mar 30, 2025
One-click install
npx skills add https://github.com/j4xie/my-prototype-logistics --skill test-shipment-trace
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-shipment-trace
Source: https://github.com/j4xie/my-prototype-logistics/tree/main/.claude/skills/test-shipment-trace
Command: npx skills add https://github.com/j4xie/my-prototype-logistics --skill test-shipment-trace

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates testing for shipment records and traceability, validating creation, status updates, and trace queries.

Core Features & Use Cases

  • Shipment Lifecycle Testing: Validate list, create, detail, status transitions, and traceability queries.
  • Traceability Check: Ensure trace data is properly linked from raw material to shipment.
  • Use Case: Verify the end-to-end shipment flow for a new product line.

Quick Start

Run the shipment trace test suite: bash tests/api/test-shipment-trace.sh

Frequently Asked Questions about test-shipment-trace

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate end-to-end testing for shipment records and traceability?

End-to-end shipment testing automates validation of creation, status updates, and trace queries to verify system integrity. This Skill runs a Bash test suite using curl commands against a local environment, covering authentication, shipment lifecycle operations, and traceability data linkage to produce a pass/fail report.

What does shipment traceability testing validate?

Shipment traceability testing validates that trace data is properly linked from raw material through to final shipment records. This Skill tests list, create, detail, and status transition operations, ensuring the complete shipment flow works end-to-end for new product lines.

Can I run shipment trace tests locally without production infrastructure?

Yes, this Skill runs tests against a local environment at localhost:10010 using a test factory, eliminating the need for production infrastructure. It uses Bash, curl, and standard Unix utilities to execute and report results independently.

What's the quickest way to start testing my shipment system?

Run the included test suite with a single Bash command: `bash tests/api/test-shipment-trace.sh`. The Skill handles authentication, shipment creation, status updates, and trace queries, returning a concise pass/fail report of the entire lifecycle.

Does this testing approach work with custom shipment status workflows?

This Skill tests standard shipment status transitions and query operations by status and date using a test factory setup. Custom workflows may require test suite modification, but the core Bash and curl-based approach applies to most shipment systems.