Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: introduce an integration test suite #459

Merged
merged 2 commits into from
Jun 10, 2024

Conversation

mrc0mmand
Copy link
Member

Since we already use Packit, let's utilize its second part as well and add a TMT [0] based integration test suite.

This PR add a second job to the existing Packit configuration, which then sends the just built RPMs to Testing Farm [1] that executes all selected tests (which currently means all discovered tests).

To demonstrate the functionality a bit, this PR also adds a simple test case for #439.

[0] https://tmt.readthedocs.io/en/stable/overview.html
[1] https://docs.testing-farm.io/Testing%20Farm/0.1/index.html


@jrybar-rh here's the promised PoC how it could look like with a very simple test case for #439 (which fails as expected when 89b7a37 is reverted).

Since we already use Packit, let's utilize its second part as well and
add a TMT [0] based integration test suite.

This PR add a second job to the existing Packit configuration, which
then sends the just built RPMs to Testing Farm [1] that executes all
selected tests (which currently means all discovered tests).

To demonstrate the functionality a bit, this PR also adds a simple test
case for polkit-org#439.

[0] https://tmt.readthedocs.io/en/stable/overview.html
[1] https://docs.testing-farm.io/Testing%20Farm/0.1/index.html
@jrybar-rh jrybar-rh merged commit e89a5db into polkit-org:main Jun 10, 2024
27 checks passed
@mrc0mmand mrc0mmand deleted the introduce-tmt branch June 10, 2024 19:56
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