test-supplier-customer

Automate supplier and customer CRUD, status, and search API tests via Bash curl.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates testing for the supplier and customer management modules, ensuring CRUD operations, status transitions, and search flows function correctly.

Core Features & Use Cases

  • CRUD Validation: Test create/read/update/delete operations for suppliers and customers.
  • Status & Search: Validate status toggling and search capabilities across entities.
  • Use Case: Quickly verify new supplier onboarding and customer onboarding workflows with consistent results.

Quick Start

Run the supplier/customer test suite: bash tests/api/test-supplier-customer.sh

Frequently Asked Questions about test-supplier-customer

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

FAQPage Schema
How do I automate API testing for supplier and customer CRUD operations?

Automate CRUD testing by running the test suite with Bash curl commands against your API endpoints. This Skill validates create, read, update, and delete operations for suppliers and customers, verifying HTTP responses and payloads to ensure data integrity without manual test cases.

Can I test supplier and customer onboarding workflows end-to-end?

Yes. This Skill automates end-to-end testing of supplier and customer onboarding, including status toggling and search functionality. It uses token-based authentication and a local test environment to verify complete workflows consistently.

What environment and setup do I need for supplier-customer API testing?

You need a local test environment running at localhost:10010 with test factory F001 configured. The Skill uses Bash curl for API calls and token-based authentication, so ensure your environment supports these protocols and your API endpoints are accessible at the specified address.

How do I verify HTTP responses in supplier and customer API tests?

The Skill implements response verification by examining HTTP status codes and JSON payloads returned from API calls. Bash curl commands capture responses, which are then validated against expected values to confirm that CRUD operations and status changes succeeded correctly.

Does this testing approach work for the vendor-customer management subsystem?

Yes. This Skill is specifically designed for the vendor-customer management subsystem in the Cretas Food Traceability System, covering supplier and customer modules with CRUD operations, status transitions, and search capabilities tailored to that domain.

What's the fastest way to validate a new supplier or customer onboarding flow?

Run the test suite with a single Bash command to execute all supplier and customer tests automatically. This provides consistent validation of onboarding workflows without writing individual test cases, reducing manual verification time significantly.