CtrlK
BlogDocsLog inGet started
Tessl Logo

golikovichev/postman2pytest

Convert a Postman Collection v2.1 JSON file into a runnable pytest test suite using the postman2pytest CLI. Use when the user has a Postman collection (a .postman_collection.json or v2.1 JSON export) and wants to run it as pytest in CI, when migrating from Postman/Newman to a Python-native test stack, when bridging Postman-documented APIs into a pytest-based regression suite, when the user asks to generate pytest tests from Postman, or when the user mentions wanting to keep Postman as the source of truth but run the suite with pytest.

93

1.00x
Quality

100%

Does it follow best practices?

Impact

100%

1.00x

Average score across 2 eval scenarios

SecuritybySnyk

Passed

No known issues

Overview
Quality
Evals
Security
Files

criteria.jsonevals/scenario-1/

{
  "context": "Tests whether the agent correctly uses the postman2pytest CLI with folder filtering to convert only the Orders folder of a Postman Collection v2.1, producing exactly the two Orders tests and excluding the Catalog requests.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Installs postman2pytest",
      "description": "Installs the tool from PyPI (pip install postman2pytest) rather than hand-writing the conversion",
      "max_score": 10
    },
    {
      "name": "Runs CLI with --filter-folder",
      "description": "Invokes the postman2pytest CLI with --collection, --out, and --filter-folder targeting the Orders folder, rather than manually selecting requests",
      "max_score": 18
    },
    {
      "name": "Exactly two test functions",
      "description": "The generated module defines exactly two test_ functions corresponding to the two Orders requests (List orders, Create order)",
      "max_score": 18
    },
    {
      "name": "Catalog requests excluded",
      "description": "None of the Catalog folder requests (List products, Get product) appear as test functions in the filtered output",
      "max_score": 16
    },
    {
      "name": "Module parses as valid Python",
      "description": "The generated module is valid Python (ast.parse succeeds) and imports only os, pytest, and requests",
      "max_score": 12
    },
    {
      "name": "results.txt produced",
      "description": "results.txt is created and contains the test-count output and the list of generated test function names",
      "max_score": 10
    }
  ]
}

CHANGELOG.md

CONTRIBUTING.md

main.py

README.md

REFERENCE.md

SECURITY.md

SKILL.md

tessl.json

tile.json