Skip to content

Commit

Permalink
chore: maintain a strategic set of instrumentation tests (aws-amplify…
Browse files Browse the repository at this point in the history
…#1888)

The cost of maintaining instrumentation tests for code-generated SDKs
has been high. We have not been able to adequately maintain this code.
So that we can focus on higher code quality, we will maintain only seven
strategicly chosen test suites:

  1. aws-android-sdk-apigateway-test
  2. aws-android-sdk-cognitoidentityprovider-test
  3. aws-android-sdk-core-test
  4. aws-android-sdk-iot-test
  5. aws-android-sdk-mobile-client-test
  6. aws-android-sdk-pinpoint-test
  7. aws-android-sdk-s3-test

aws-android-sdk-mobile-client-test and aws-android-sdk-iot-test are new
modules, which have been created by splitting out the contents of
aws-android-sdk-mobile-client/src/androidTest and
aws-android-sdk-iot/src/androidTest.

All other suites have been removed from the project.
  • Loading branch information
jamesonwilliams authored Jun 17, 2020
1 parent 16b1674 commit 4be890c
Show file tree
Hide file tree
Showing 315 changed files with 4,116 additions and 27,127 deletions.
603 changes: 26 additions & 577 deletions .circleci/config.yml

Large diffs are not rendered by default.

13 changes: 8 additions & 5 deletions aws-android-sdk-apigateway-test/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,15 @@ android {
}

dependencies {
api (project(':aws-android-sdk-apigateway-core')) {
exclude group: 'com.google.android', module: 'android'
}

androidTestImplementation project(':aws-android-sdk-testutils')
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'org.mockito:mockito-android:2.7.22'
androidTestImplementation project(':aws-android-sdk-apigateway-core')
androidTestImplementation project(':aws-android-sdk-testutils')
}

configurations {
all {
exclude group: 'xpp3', module: 'xpp3'
}
}

2 changes: 2 additions & 0 deletions aws-android-sdk-apigateway-test/gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
android.useNewApkCreator=false

21 changes: 0 additions & 21 deletions aws-android-sdk-apigateway-test/proguard-rules.pro

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

import android.support.test.InstrumentationRegistry;

import com.amazonaws.apigatewaytest.R;
import com.amazonaws.mobileconnectors.apigateway.test.R;
import com.amazonaws.testutils.AWSTestBase;

import org.json.JSONObject;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.amazonaws.apigatewaytest" >
package="com.amazonaws.mobileconnectors.apigateway.test" >
<uses-permission android:name="android.permission.INTERNET"/>
</manifest>
35 changes: 0 additions & 35 deletions aws-android-sdk-autoscaling-test/build.gradle

This file was deleted.

21 changes: 0 additions & 21 deletions aws-android-sdk-autoscaling-test/proguard-rules.pro

This file was deleted.

Loading

0 comments on commit 4be890c

Please sign in to comment.