ai-ad-api-automation-test (templates)

Generate pytest API tests conforming to AUTOMATION_TEST_SPEC_v1.4.

Updated Nov 8, 2025
One-click install
npx skills add https://github.com/wade56754/AI_ad_spend02 --skill ai-ad-api-automation-test-templates
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ai-ad-api-automation-test (templates)
Source: https://github.com/wade56754/AI_ad_spend02/tree/main/.claude/skills/ai-ad-api-automation-test
Command: npx skills add https://github.com/wade56754/AI_ad_spend02 --skill ai-ad-api-automation-test-templates

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This set of templates provides default Postman/Newman scaffolding and PyTest examples for API automation, aligned with SoT.

Core Features & Use Cases

  • Postman collection templates: Ready-to-use collections for contract testing.
  • Newman runner templates: Scripted runners for CI integration.

Quick Start

Use the provided templates to bootstrap API tests and CI pipelines.

Frequently Asked Questions about ai-ad-api-automation-test (templates)

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

FAQPage Schema
How do I automate API testing with Postman and Newman?

API automation with Postman and Newman uses collections and CLI runners to execute contract tests in CI pipelines. These templates provide scaffolding to bootstrap collections, define test cases, and integrate Newman runners for automated validation across API endpoints.

Can I generate pytest tests for API automation testing?

Yes. These templates generate pytest tests conforming to AUTOMATION_TEST_SPEC_v1.4, supporting multiple modules and L0-L3 testing levels. The generated tests integrate Newman-based contract testing and produce coverage reports with SoT alignment verification.

What testing levels and workflows do these templates support?

Templates support L0-L3 testing levels with GENERATE, RUN, NEWMAN, and REPORT workflows. Each workflow handles test code generation, execution, Newman contract testing, and report generation with coverage metrics and SoT (Source of Truth) verification.

Do these templates enforce safety constraints for API testing?

Yes. Templates enforce no production database modification, mandate test database usage, handle secrets securely, and include SoT referee checks. Safety constraints are built into the generated test code and validation logic.

How do I integrate API automation tests into CI pipelines?

Newman runner templates provide scripted runners ready for CI integration. Use the templates to bootstrap collections and runners, then invoke Newman commands in your CI workflow to execute tests automatically and generate reports.

Does this approach work with multiple API modules?

Yes. Templates apply to daily_report, topup_request, reconciliation, ledger, ad_accounts, suppliers, settlements, projects, auth modules, or all at once. Specify the target module when generating tests to scope automation appropriately.