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
Android unit tests analytics #17
Android unit tests analytics #17
Conversation
This reverts commit 59681ba.
print(e); | ||
} | ||
|
||
await amplifyInstance.configure(amplifyconfig); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not a huge deal since this is just the example app, but you'll want to catch an error here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left one comment, but it's a minor nit.
I'm going to delete this PR and put it into a separate PR based directly off of master. |
Closing the PR. We will use offline tests and a different testing framework solution. |
Initial Android Unit Tests for the Analytics Pinpoint Module.
This PR is meant to demonstrate how to setup and run unit tests in Android for your modules. Please make sure to follow as closely as possible to the setup used here. Kyle Y and I ran into very significant bugs and issues with alternate setups and different code. Feel free to contact us if you run into issues when developing your own unit tests.
Please focus on the changes to AmplifyAnalyticsPinpointPluginTest
Changes made to the base android plugins module can be ignored (they are already contained in a separate PR 'Amplify analytics' that will be merged