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

(3/3) RUM-392 let all modules use the shared fixtures #1668

Merged
merged 1 commit into from
Oct 16, 2023

Conversation

xgouchet
Copy link
Member

@xgouchet xgouchet commented Oct 11, 2023

What does this PR do?

This PR lets each feature module to use the core module's testFixtures  source sets

Motivation

This is part of our effort on improving our test suites across the mobile teams

@xgouchet xgouchet requested a review from a team as a code owner October 11, 2023 17:20
0xnm
0xnm previously approved these changes Oct 12, 2023
@@ -63,6 +68,8 @@ dependencies {
)
}
}
testImplementation(testFixtures(project(":dd-sdk-android-core")))
testImplementation(libs.okHttp)
Copy link
Member

Choose a reason for hiding this comment

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

where it is used in tests?

mariusc83
mariusc83 previously approved these changes Oct 12, 2023
Copy link
Member

@mariusc83 mariusc83 left a comment

Choose a reason for hiding this comment

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

Nicely done, thank you for this ;)

@xgouchet xgouchet force-pushed the xgouchet/RUM-392/2_shared_core_fixtures branch 4 times, most recently from 2c2668e to 3de4864 Compare October 16, 2023 09:39
Base automatically changed from xgouchet/RUM-392/2_shared_core_fixtures to develop October 16, 2023 11:59
@xgouchet xgouchet dismissed stale reviews from mariusc83 and 0xnm October 16, 2023 11:59

The base branch was changed.

@xgouchet xgouchet force-pushed the xgouchet/RUM-392/3_shared_core_fixtures branch from 8fb224b to 75949ff Compare October 16, 2023 12:01
@xgouchet xgouchet requested review from 0xnm and mariusc83 October 16, 2023 12:01
0xnm
0xnm previously approved these changes Oct 16, 2023
@xgouchet xgouchet force-pushed the xgouchet/RUM-392/3_shared_core_fixtures branch from 75949ff to a470a07 Compare October 16, 2023 12:46
@xgouchet xgouchet requested a review from 0xnm October 16, 2023 12:54
@codecov-commenter
Copy link

Codecov Report

Merging #1668 (a470a07) into develop (3de4864) will decrease coverage by 0.02%.
Report is 1 commits behind head on develop.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop    #1668      +/-   ##
===========================================
- Coverage    83.71%   83.69%   -0.02%     
===========================================
  Files          459      459              
  Lines        15778    15775       -3     
  Branches      2354     2353       -1     
===========================================
- Hits         13208    13202       -6     
- Misses        1943     1948       +5     
+ Partials       627      625       -2     

see 18 files with indirect coverage changes

@xgouchet xgouchet merged commit cbdf622 into develop Oct 16, 2023
4 of 5 checks passed
@xgouchet xgouchet deleted the xgouchet/RUM-392/3_shared_core_fixtures branch October 16, 2023 13:17
@xgouchet xgouchet added this to the 2.3.0 milestone Dec 13, 2023
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.

4 participants