Skip to content

Conversation

@joe-p
Copy link
Contributor

@joe-p joe-p commented Nov 17, 2025

It should be noted that --no-parse is needed for the run command because polytest isn't properly handling the leading directory (test/) in the output. This should eventually be fixed in polytest, but it's not critical for now because we can just rely on the vitest output since we are only running tests for one language.

Note that this requires the latest polytest version: 0.6.0

algokit-polytest PR: algorandfoundation/algokit-polytest#10

It should be noted that --no-parse is needed because polytest isn't
properly handling the leading directory (test/) in the output
@joe-p joe-p requested a review from Copilot November 17, 2025 14:27
Copilot finished reviewing on behalf of joe-p November 17, 2025 14:29
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR integrates polytest into the transact package to enable cross-language testing. The integration uses polytest version 0.6.0 with a temporary workaround (--no-parse flag) to handle output parsing issues.

  • Adds polytest npm scripts for generating and running tests
  • Excludes polytest temporary directories from version control and test runners
  • References a feature branch of polytest via git URL

Reviewed Changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 2 comments.

File Description
vitest.config.ts Excludes .polytest* directories from vitest test discovery
packages/transact/package.json Adds polytest:generate and polytest:run npm scripts
.gitignore Ignores .polytest*/ temporary directories

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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