Skip to content

Move CoreData test folder to WordPressDataTests#25305

Open
kean wants to merge 1 commit intotrunkfrom
task/reduce-objc-usage
Open

Move CoreData test folder to WordPressDataTests#25305
kean wants to merge 1 commit intotrunkfrom
task/reduce-objc-usage

Conversation

@kean
Copy link
Contributor

@kean kean commented Feb 25, 2026

... and convert to Swift Testing. With the exception of ContextManagerTests where automatic conversion failed due to the complexity of the tests, but I did end up removing the Nimble dependency.

@kean kean added this to the Someday milestone Feb 25, 2026
@kean kean added the Tech Debt label Feb 25, 2026
@dangermattic
Copy link
Collaborator

1 Warning
⚠️ This PR is larger than 500 lines of changes. Please consider splitting it into smaller PRs for easier and faster reviews.

Generated by 🚫 Danger

@kean kean changed the title More CoreData test folder to WordPressDataTests Move CoreData test folder to WordPressDataTests Feb 25, 2026
@kean kean force-pushed the task/reduce-objc-usage branch from af6cc74 to f37e527 Compare February 25, 2026 18:02
@wpmobilebot
Copy link
Contributor

wpmobilebot commented Feb 25, 2026

App Icon📲 You can test the changes from this Pull Request in WordPress by scanning the QR code below to install the corresponding build.
App NameWordPress
ConfigurationRelease-Alpha
Build Number31147
VersionPR #25305
Bundle IDorg.wordpress.alpha
Commit01de02c
Installation URL4notma9u7jc90
Automatticians: You can use our internal self-serve MC tool to give yourself access to those builds if needed.

@wpmobilebot
Copy link
Contributor

wpmobilebot commented Feb 25, 2026

App Icon📲 You can test the changes from this Pull Request in Jetpack by scanning the QR code below to install the corresponding build.
App NameJetpack
ConfigurationRelease-Alpha
Build Number31147
VersionPR #25305
Bundle IDcom.jetpack.alpha
Commit01de02c
Installation URL2h51m1e6ho9h8
Automatticians: You can use our internal self-serve MC tool to give yourself access to those builds if needed.

@kean kean force-pushed the task/reduce-objc-usage branch from f37e527 to 154bcc2 Compare February 25, 2026 18:25
@kean kean force-pushed the task/reduce-objc-usage branch from 154bcc2 to 01de02c Compare February 25, 2026 18:28
@kean kean requested review from crazytonyli and jkmassel February 25, 2026 18:28
@sonarqubecloud
Copy link

@wpmobilebot
Copy link
Contributor

🤖 Build Failure Analysis

This build has failures. Claude has analyzed them - check the build annotations for details.

@kean kean enabled auto-merge February 25, 2026 19:20
Copy link
Contributor

@jkmassel jkmassel left a comment

Choose a reason for hiding this comment

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

Looks good, just one nit.


@testable import WordPressData

struct CoreDataMigrationTests {
Copy link
Contributor

Choose a reason for hiding this comment

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

Should this be @MainActor like the other test suites?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants