Skip to content

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

Merged
xgouchet merged 1 commit into
developfrom
xgouchet/RUM-392/3_shared_core_fixtures
Oct 16, 2023
Merged

(3/3) RUM-392 let all modules use the shared fixtures#1668
xgouchet merged 1 commit into
developfrom
xgouchet/RUM-392/3_shared_core_fixtures

Conversation

@xgouchet

@xgouchet xgouchet commented Oct 11, 2023

Copy link
Copy Markdown
Contributor

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
}
}
testImplementation(testFixtures(project(":dd-sdk-android-core")))
testImplementation(libs.okHttp)

Copy link
Copy Markdown
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

@mariusc83 mariusc83 left a comment

Copy link
Copy Markdown
Member

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

codecov-commenter commented Oct 16, 2023

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.69%. Comparing base (3de4864) to head (a470a07).
⚠️ Report is 2590 commits behind head on develop.

Additional details and impacted files
@@             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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@xgouchet
xgouchet merged commit cbdf622 into develop Oct 16, 2023
@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