contentstack/contentstack-management-python · Archived

testing

Use for pytest unit/API/mock suites, tests/cred.py, .env setup, and hygiene in contentstack-management-python.

First seen Jun 16, 2026

Installation

$ npx skills add contentstack/contentstack-management-python --skill testing

Stronger alternatives

This repository is archived — consider an actively maintained alternative.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from contentstack/contentstack-management-python.

npx skills add contentstack/contentstack-management-python

Browse all from contentstack/contentstack-management-python

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 1
License LICENSE
Default branch main
Open issues 0
Status Archived

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,393 B
  • docs SUMMARY.md 125 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 2 installs

SKILL.md

Testing – Contentstack Management Python

When to use

  • Adding or changing tests under tests/.
  • Debugging API vs mock failures; improving tests/cred.py usage.

Instructions

Runner and tooling

Suite Path Notes
Unit tests/unit/** Fast, isolated; primary CI target
API tests/api/** Live CMA — .env via tests/cred.py
Mock tests/mock/** Mocked HTTP / contracts
Goal Command
Unit (CI-style) pytest tests/unit/ -v or coverage run -m pytest tests/unit/
API (live CMA) pytest tests/api/ -v
Mock pytest tests/mock/ -v
Full tree pytest tests/ -v

Environment (tests/cred.py)

  • get_credentials() loads dotenv and returns host, tokens, and resource UIDs.
  • Common vars: HOST, APIKEY, AUTHTOKEN, MANAGEMENTTOKEN, ORGUID, plus resource UIDs as tests require.
  • Use a .env at repo root for local API runs; never commit secrets.

Hygiene

  • No committed secrets; use placeholders or env-only values for CI.
  • Avoid leaving pytest.skip or focused-only tests enabled in paths meant for full suite runs unless intentional.