Skip to content

perf(test): optimize integration tests to use local fixtures#5064

Merged
Hofer-Julian merged 10 commits intoprefix-dev:mainfrom
baszalmstra:optimize-integration-tests
Dec 5, 2025
Merged

perf(test): optimize integration tests to use local fixtures#5064
Hofer-Julian merged 10 commits intoprefix-dev:mainfrom
baszalmstra:optimize-integration-tests

Conversation

@baszalmstra
Copy link
Contributor

@baszalmstra baszalmstra commented Dec 4, 2025

Description

Optimize several integration tests to use local fixtures instead of remote resources.

Changes:

  • Move GitRepoFixture and PackageDatabase utilities to pixi_test_utils crate for reuse across test crates
  • Optimize pixi_command_dispatcher tests to use local channels instead of conda-forge
  • Add git fixture for multi-output-recipe to avoid remote git clones in simple_test
  • Configure nextest to report slow tests with a 10 second threshold

AI Disclosure

  • This PR contains AI-generated content.
    • I have tested any AI-generated content in my PR.
    • I take responsibility for any AI-generated content in my PR.

Tools: Claude Code (claude-opus-4-5-20251101)

Checklist:

  • I have performed a self-review of my own code
  • I have added sufficient tests to cover my changes.

Copy link
Contributor

@Hofer-Julian Hofer-Julian left a comment

Choose a reason for hiding this comment

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

Great!

Left a few comments

Copy link
Contributor

@Hofer-Julian Hofer-Julian left a comment

Choose a reason for hiding this comment

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

Thank you!

@Hofer-Julian Hofer-Julian merged commit bafdd16 into prefix-dev:main Dec 5, 2025
38 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