Skip to content

fix(tuist): add missing test target deps#6894

Merged
peterporfy merged 2 commits into
mainfrom
porfy/fix-tuist-test-targets
Jun 5, 2026
Merged

fix(tuist): add missing test target deps#6894
peterporfy merged 2 commits into
mainfrom
porfy/fix-tuist-test-targets

Conversation

@peterporfy

@peterporfy peterporfy commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

Motivation

The tuist generate-ed build was failing because

  • ButtonComponentViewModelInteractionTests was in the wrong group (UnitTests instead of RevenueCatUITest) -> moved
  • nimble was missing from dependencies

Note

Low Risk
Test and project-configuration only; no production SDK or runtime behavior changes.

Overview
Fixes Tuist-generated builds that were failing on test target setup.

RevenueCatAdMobTests now declares Nimble as a dependency in Projects/RevenueCatTests/Project.swift, matching tests that import Nimble.

The regenerated project.pbxproj moves ButtonComponentViewModelInteractionTests.swift from the UnitTests Components group into RevenueCatUITests → PaywallsV2, alongside other Paywalls V2 UI tests (the file uses @testable import RevenueCatUI and Nimble). Most other diff hunks are file-reference reordering from Tuist, not behavioral changes.

Reviewed by Cursor Bugbot for commit 11b49ae. Bugbot is set up for automated code reviews on this repo. Configure here.

@peterporfy peterporfy requested a review from a team as a code owner June 3, 2026 12:32
Comment thread Projects/RevenueCatTests/Project.swift Outdated
],
dependencies: [
.revenueCat,
.revenueCatUI,

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.

This shouldn't be needed I think? Unit tests should only depend on RevenueCat and not on the UI module 🤔

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The build is failing on this existing test:

@peterporfy peterporfy force-pushed the porfy/fix-tuist-test-targets branch from e1cd1d8 to 5be234b Compare June 5, 2026 08:00
@peterporfy peterporfy requested a review from a team as a code owner June 5, 2026 08:00
@peterporfy

peterporfy commented Jun 5, 2026

Copy link
Copy Markdown
Contributor Author

This change is part of the following stack:

Change managed by git-spice.

@peterporfy peterporfy force-pushed the porfy/fix-tuist-test-targets branch from 5be234b to 11b49ae Compare June 5, 2026 08:04

@ajpallares ajpallares 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.

Thanks for the fix!

@peterporfy

Copy link
Copy Markdown
Contributor Author

@RCGitBot please test

@peterporfy peterporfy merged commit e08c22d into main Jun 5, 2026
43 checks passed
@peterporfy peterporfy deleted the porfy/fix-tuist-test-targets branch June 5, 2026 10:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants