Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>AppSync TestGenNew to Visual Studio Code? Get it now.
AppSync TestGen

AppSync TestGen

scierainc

|
4 installs
| (0) | Free
VS Code extension to fetch AppSync schemas/resolvers and generate Jest/Pytest tests via LLMs.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

AppSync TestGen (VS Code Extension)

Generate per-operation GraphQL contexts from an AppSync schema, draft test plans with an LLM, and materialize executable tests for Pytest or Jest. Includes optional resolver/data-source harvesting (IAM), per-operation prompt customization, and Allure reporting.

⚠️ Warning
Some parts of this codebase were “vibe-coded” for speed. Use with care, review generated code, and expect sharp edges in advanced/edge cases.

✅ Status

  • Pytest flows: stable.
  • IAM in Pytest: requires your own SigV4 wiring in graphql_client.py.
  • Allure: supported via tasks.
  • Jest: basic paths wired, see TODO.

Quick links

  • Getting started
  • Commands
  • Configuration
  • Per-operation prompts
  • Generate workflow
  • Testing & Allure
  • Resolvers & data sources (IAM)
  • Troubleshooting
  • Project structure
  • Security notes
  • FAQ

Features

  • Build per-operation contexts with:
    • Canonical operation.graphql
    • Pruned operation.sdl.graphql
    • Rich context.json (args, variables skeleton, typeClosure, returnTree)
    • Copy of resolver artifacts (if harvested)
  • LLM-backed plan generation with SDL validation & auto-repair of invalid GQL
  • Per-operation prompt customization (settings + files + wildcards)
  • Materialize Pytest or Jest tests from plans
  • Allure reporting tasks (workspace & external contexts)

Quickstart

  1. Fetch schema → Build contexts → Generate plans → Materialize tests
  2. Run Pytest or Jest via tasks (.vscode/tasks.json)
  3. Allure: pytest ... --alluredir ./allure-results then npx allure serve ./allure-results

TODO

  • Jest test cases may not work reliably across all auth modes and schemas yet. Treat Jest materialization as experimental and prefer Pytest for now.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft