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

Integration Testing #171

Merged
merged 9 commits into from
Dec 18, 2024
Merged

Integration Testing #171

merged 9 commits into from
Dec 18, 2024

Conversation

Mr-Kanister
Copy link
Contributor

@Mr-Kanister Mr-Kanister commented Dec 15, 2024

Adds the ability to run integration tests on the emulator. For this I ported the old daemon tests to the client and added a xtask. Usage:

  1. Run the emulator
  2. cargo xtask integration-test

If you'd like to run the tests locally that is also possible:

  1. Run the emulator
  2. cargo xtask daemon --android
  3. cargo test

I didn't add the API functions of get_odex_files, get_so_files and get_symbols to the tests as those won't survive much longer anyway.

The panic = "abort"'s in the root .toml needed removal as @fhilgers found out: rust-lang/cargo#6313.

Closes #165

@Mr-Kanister Mr-Kanister self-assigned this Dec 15, 2024
@Mr-Kanister Mr-Kanister linked an issue Dec 15, 2024 that may be closed by this pull request
Copy link
Collaborator

@fhilgers fhilgers left a comment

Choose a reason for hiding this comment

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

LGTM

@fhilgers fhilgers merged commit 5562e51 into dev Dec 18, 2024
7 checks passed
@fhilgers fhilgers deleted the 165-integration-test branch December 18, 2024 07:29
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.

Integration Testing
3 participants