Skip to content

Conversation

@mielvds
Copy link
Collaborator

@mielvds mielvds commented Nov 19, 2025

This PR is an attempt to migrate the original test runner to pytest with minimal changes. It fixes #206.

Tests can be run with or without pytest; I've added notes in tests/runtests.py wherever functionality is handled by pytest and if desired, can be removed after review or somewhere in the future. When more unit tests arrive, we might want to rename runtests.py to something more accurate. (or merge it with test_manifests.py )

Copilot was used to explain the original code and help adding commentary to tests/runtests.py, which I checked for correctness. This helped a lot to understand the existing code, but apologies if I misunderstood anything; it wasn't easy :) Next, I used copilot to provide some pytest boilerplate and took it from there.

The EARL reports match up between two test runners. I've also updated the GitHub actions to use pytest and that seems to work as well.

@mielvds mielvds marked this pull request as ready for review November 19, 2025 13:03
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.

Use pytest for (unit)testing?

2 participants