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

automated connection testing across multiple plugin projects #40

Open
atsushieno opened this issue Feb 25, 2020 · 6 comments
Open

automated connection testing across multiple plugin projects #40

atsushieno opened this issue Feb 25, 2020 · 6 comments

Comments

@atsushieno
Copy link
Owner

Now we have various combination of testable audio plugins (LV2-based plugins e.g. mda, and JUCE-based plugins e.g. andes and SARAH) as well as hosts (aaphostsample, JuceAAPAudioPluginHost), there should be some automated connection tests.

Although unlike normal Android apps it is not very straightforward, as we have to install more than just one app, and create a test matrix for all combinations. Also, those hosts need to become testable without UI (or we write UI testing).

To make it harder, there is still no way to automate JUCE-based projects on various CI servers (none successfully built them).

So far, here is what I usually test manually (not always everything):

  • aaphostsample can apply mda effects (mda-Delay or mda-Detune)
  • aaphostsample can play mda synths (mda-EPiano)
  • aaphostsample can play JUCE synths (andes)
  • JuceAAPAudioPluginHost can play mda synths (mda-EPiano)
  • JuceAAPAudioPluginHost can play JUCE synths (andes)
  • JuceAAPAudioPluginHost can play mda synths (mda-EPiano and then apply mda effects (mda-Delay or mda-Detune)
@atsushieno
Copy link
Owner Author

@atsushieno
Copy link
Owner Author

It is partially achieved as aaphostsample androidTest. It's not really runnable without relevant plugins installed and therefore not ready for CI testing though.

@atsushieno
Copy link
Owner Author

There is androidaudioplugin-testing.aar for reusable simple instancing tests, and I applied it to couple of plugin projects.

@atsushieno atsushieno changed the title automated connection testing automated connection testing across multiple plugin projects Jun 27, 2021
@atsushieno
Copy link
Owner Author

It may be possible to use Firebase Testing for running such tests. That would be to collect multiple apks from different repositories first, and install them from a repo using some script that runs gcloud tool.

@atsushieno
Copy link
Owner Author

More on testing multiple apks: Use Android Test Orchestrator https://developer.android.com/training/testing/instrumented-tests/androidx-test-libraries/runner#use-android

atsushieno added a commit that referenced this issue Dec 28, 2022
context: #40

At this state I don't think we can reliably use this feature.
@atsushieno
Copy link
Owner Author

Orchestrator was not the right one; maybe espresso remote runner works. https://developer.android.com/training/testing/espresso/multiprocess

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant