Skip to content

Add postman2pytest to Rest API Testing#85

Merged
cleder merged 2 commits into
cleder:mainfrom
golikovichev:postman2pytest-entry
May 23, 2026
Merged

Add postman2pytest to Rest API Testing#85
cleder merged 2 commits into
cleder:mainfrom
golikovichev:postman2pytest-entry

Conversation

@golikovichev
Copy link
Copy Markdown
Contributor

@golikovichev golikovichev commented May 23, 2026

Adds postman2pytest to the Rest API Testing section.

postman2pytest is a CLI tool that converts a Postman Collection v2.1 JSON file into a runnable pytest test suite. It supports environment variable substitution, folder filtering, and stress-test generation. MIT licensed, on PyPI (https://pypi.org/project/postman2pytest/), tested on Python 3.10 through 3.13 across Ubuntu / macOS / Windows.

Single-line addition placed alphabetically between playback and RESTler. No other changes.

gmail-precheck-done

Summary by Sourcery

Documentation:

  • Document the postman2pytest CLI tool in the Rest API Testing section of the README.

verified-commit
code-reviewed
Single-line addition к Rest API Testing section. Tool description matches existing entry style.
@semanticdiff-com
Copy link
Copy Markdown

Review changes with  SemanticDiff

@sourcery-ai
Copy link
Copy Markdown

sourcery-ai Bot commented May 23, 2026

Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

Adds a new entry for the postman2pytest CLI tool to the Rest API Testing section of the README, keeping the list alphabetically ordered and consistent with existing item descriptions.

Flow diagram for postman2pytest usage added to README

flowchart LR
    actor_User["User"]
    PostmanCollection["Postman Collection v2.1 JSON"]
    EnvFile["Postman environment variables"]
    postman2pytest["postman2pytest CLI"]
    PytestSuite["Generated pytest test suite"]
    PytestRunner["pytest"]

    actor_User --> PostmanCollection
    actor_User --> EnvFile
    actor_User --> postman2pytest

    PostmanCollection --> postman2pytest
    EnvFile --> postman2pytest

    subgraph Options
        FolderFilter["Folder filtering"]
        StressTests["Stress-test generation"]
    end

    FolderFilter --> postman2pytest
    StressTests --> postman2pytest

    postman2pytest --> PytestSuite
    PytestSuite --> PytestRunner
    actor_User --> PytestRunner
Loading

File-Level Changes

Change Details Files
Document the postman2pytest CLI tool in the Rest API Testing tools list.
  • Insert a new markdown bullet for postman2pytest in the Rest API Testing section description list.
  • Position the new entry alphabetically between existing playback and RESTler items.
  • Describe key capabilities of postman2pytest, including converting Postman collections to pytest suites and supporting environment variables, folder filtering, and stress-test generation.
README.md

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link
Copy Markdown

@sourcery-ai sourcery-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

Copy link
Copy Markdown

@llamapreview llamapreview Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto Pull Request Review from LlamaPReview

Review Status: Automated Review Skipped

Dear contributor,

Thank you for your Pull Request. LlamaPReview has analyzed your changes and determined that this PR does not require an automated code review.

Analysis Result:

PR only contains documentation changes (1 files)

Technical Context:

Documentation changes typically include:

  • Markdown/RST file updates
  • API documentation
  • Code comments
  • README updates
  • Documentation in /docs directory
  • License and contribution files

We're continuously improving our PR analysis capabilities. Have thoughts on when and how LlamaPReview should perform automated reviews? Share your insights in our GitHub Discussions.

Best regards,
LlamaPReview Team

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds the postman2pytest tool to the list of Python testing resources in the README. A review comment suggested refining the tool's description to be more concise and consistent with the existing entries in the list.

Comment thread README.md Outdated
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
@cleder cleder merged commit 8771ec5 into cleder:main May 23, 2026
2 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants