Skip to content

Conversation

@mandli
Copy link
Member

@mandli mandli commented Sep 15, 2025

This PR introduces a new ClawpackTestRunner that utilizes PyTest more heavily to gain features and controls that were not possible or difficult to maintain/control just using the older unittest based framework.

Advantages include:

  • Uses pytest more directly than the previous tests based on UnitTest
  • Significant code simplification of both the test scaffoloding and individual tests
  • Gives full control of the output (temporary) directory to the test via the commandline pytest --basetemp=
  • Can specify which setrun is used by path and removes problems with collision of names
  • Uses some pytest fixtures to provide other functionality meaning that they can also be expanded

The old ClawpackRegressionTest is still available for the time being. The other PRs in the tested repositories are:

@mandli mandli changed the title New pytest test runner Add New PyTest Based Test Runner Sep 15, 2025
@mandli mandli marked this pull request as draft September 15, 2025 16:02
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.

1 participant