-
Notifications
You must be signed in to change notification settings - Fork 24
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
Transfer AEPTestUtils to Core #723
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev #723 +/- ##
============================================
+ Coverage 81.61% 81.65% +0.03%
- Complexity 2151 2154 +3
============================================
Files 192 192
Lines 8979 8979
Branches 1124 1124
============================================
+ Hits 7328 7331 +3
Misses 1093 1093
+ Partials 558 555 -3
Flags with carried forward coverage won't be shown. Click here to find out more. |
@@ -9,7 +9,7 @@ jobs: | |||
executor: | |||
name: android/android-docker | |||
resource-class: large | |||
tag: 2024.01.1 | |||
tag: 2024.01.1-node |
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.
Is this necessary?
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.
This one is only necessary to allow test utils: enableSpotlessPrettierForJava = true
Without it, the spotless java check fails because the CI runner can't find a valid npm instance
Can you also update the jitpack.yml file to include publishing the test utilities? |
The changes look good. Let’s reuse the dev branch instead of maintaining a separate dev-testutils branch for Android. |
Description
This PR transfers over AEPTestUtils to the Core repo as a separate module. At a high level the updates include:
testutils
module with current AEPTestUtils implementation from Android AEPTestUtils: https://github.com/timkimadobe/aepsdk-testutils-androidpublishing
, add all other non-Core dependencies as Maven dependenciesAll other new files are transfers from AEPTestUtils existing implementation (unchanged).
Tested this configuration by adding the following code snippets using a class from AEPTestUtils to Core tests:
Unit test: MobileCoreTests.kt -
testDispatchEventSimple()
Functional test: DataMarshallerTests.kt -
marshalDeepLinkData()
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: