Skip to content
/ apisyn Public template

Comprehensive API Integration Test Suite for Shopify, Stripe, and MCP Server integrations

Notifications You must be signed in to change notification settings

orgitcog/apisyn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API Syn - Comprehensive API Integration Test Suite

A unified test framework for API, CLI, E2E CI, and Unit tests across Shopify, Stripe, PayPal, and MCP server integrations.

Overview

This repository contains a comprehensive API integration test suite that validates:

  • Shopify Partner API - GraphQL API for partner operations
  • Shopify Admin API - REST API for store management
  • Shopify Storefront API - GraphQL API for storefront operations
  • Zone Chan App - OAuth and HMAC signature validation
  • MCP Server Integrations - Stripe, PayPal, Notion, Cloudflare

Test Results Summary

Category Tests Passed Status
API Tests 18 18 ✓ 100%
CLI Tests 4 4 ✓ 100%
E2E Tests 2 2 ✓ 100%
Unit Tests 10 9 90%
Release Tests 4 4 ✓ 100%
Overall 43 42 97.7%

Quick Start

Prerequisites

Set the following environment variables:

export SHOPIFY_PARTNER_CLIENT_API=<partner_api_token>
export SHOPIFY_ADMIN_API_ACCESS_TOKEN_ZONE_TEST=<admin_token>
export SHOPIFY_STOREFRONT_API_ACCESS_TOKEN_ZONE_TEST=<storefront_token>
export SHP_ZONE_CHAN_APP_CLIENT_ID=<client_id>
export SHP_ZONE_CHAN_APP_SECRET=<client_secret>
export STRIPE_SECRET_KEY=<stripe_key>

Running Tests

# Run comprehensive API tests
python3 comprehensive_api_tests.py

# Run SDK package tests
python3 sdk_package_tests.py

# Run full test framework
python3 test_framework/test_runner.py --suite all

# Run specific test suite
python3 test_framework/test_runner.py --suite api
python3 test_framework/test_runner.py --suite cli
python3 test_framework/test_runner.py --suite e2e
python3 test_framework/test_runner.py --suite unit
python3 test_framework/test_runner.py --suite release

# Generate comprehensive report
python3 generate_report.py

Project Structure

apisyn/
├── comprehensive_api_tests.py    # Full Shopify API test suite
├── sdk_package_tests.py          # SDK package validation tests
├── generate_report.py            # Report generator
├── test_framework/
│   ├── test_runner.py            # Unified test framework
│   └── output/                   # Test results
├── reports/
│   ├── integration_test_report.md
│   └── test_summary.json
└── README.md

API Capabilities Tested

Shopify Partner API

  • API Versions Query
  • Transactions Query (with pagination)
  • Apps Query
  • Organization Info

Shopify Admin API

  • Shop Info
  • Products CRUD Operations
  • Customers Management
  • Orders Query
  • Collections Management
  • Inventory Locations
  • Webhooks
  • Access Scopes (154 scopes)

Shopify Storefront API

  • Shop Query
  • Products Query
  • Collections Query

Zone Chan App

  • Credentials Validation (32-char format)
  • HMAC Signature Generation (SHA256 + Base64)
  • OAuth Flow State Generation

MCP Server Integrations

Server Tools Status
Stripe 15 ✓ Connected
PayPal 5 ✓ Connected
Notion 14 ✓ Connected
Cloudflare 25 ✓ Connected

SDK Packages Validated

Package Version Status
@ucp-js/sdk 0.1.0
ADK for TypeScript 0.2.4
Workbox 7.x
next-offline 5.0.5
shopify-enterprise-dashboard 1.0.0
shopify-marketplace-remix-app -
UCP Specification -

Test Framework Features

  • API Tests: Validates API endpoints, authentication, and data integrity
  • CLI Tests: Tests MCP server command-line integrations
  • E2E Tests: Full workflow tests (Product CRUD, Transaction queries)
  • Unit Tests: Package structure and configuration validation
  • Release Tests: Build readiness and manifest generation

Rate Limiting

All Shopify API tests include 250ms delays between requests to comply with the 4 requests/second rate limit.

License

Apache 2.0

Author

Manus AI - 2026

About

Comprehensive API Integration Test Suite for Shopify, Stripe, and MCP Server integrations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •