Skip to content

Replace zope testrunner with plain unittest#260

Merged
mfussenegger merged 2 commits intomasterfrom
j/testrunner
Feb 3, 2026
Merged

Replace zope testrunner with plain unittest#260
mfussenegger merged 2 commits intomasterfrom
j/testrunner

Conversation

@mfussenegger
Copy link
Copy Markdown
Member

@mfussenegger mfussenegger commented Feb 2, 2026

The layer functionality isn't really needed given that all tests are in one module - can use a setUpModule/tearDownModule instead.

unittest module has better integration in editors (e.g. to trigger individual tests).
And not depending on another test runner gets rid of dependencies which create dependency bump noise and busywork

Copy link
Copy Markdown
Member

@seut seut left a comment

Choose a reason for hiding this comment

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

👍

Comment thread tests/test_integration.py Outdated
super().__init__(methodName)
self.container = None
self.name = 'crate'
self.image = "crate/crate:test"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

could use TAG, right?

Suggested change
self.image = "crate/crate:test"
self.image = TAG

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Good catch - removed the self.image property altogether.

@mfussenegger mfussenegger merged commit 47d0469 into master Feb 3, 2026
1 check passed
@mfussenegger mfussenegger deleted the j/testrunner branch February 3, 2026 09:57
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