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

Create client application for integration tests #6

Open
dvzrv opened this issue Sep 27, 2023 · 1 comment
Open

Create client application for integration tests #6

dvzrv opened this issue Sep 27, 2023 · 1 comment

Comments

@dvzrv
Copy link
Owner

dvzrv commented Sep 27, 2023

To run integration tests it would be better to rely on a client application, which communicates with caterpillar over d-bus instead of only testing the outcome of its actions.

With #5 the integration test for "there is no update" does not work anymore, as caterpillar has been turned into a long-running application and the tests relied on it exiting at some point.

@dvzrv
Copy link
Owner Author

dvzrv commented Sep 28, 2023

More specifically the test has now been removed (6ff7f17) and the test strategy has to be adapted to test using the new d-bus interface instead.

A separate client based on an auto-generated caterpillar proxy can be created to interact with the caterpillar service, depending on test scenario (interactive/ non-interactive).

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

No branches or pull requests

1 participant