Integrate WordPressKit and WordPressAuthenticator unit tests#23367
Integrate WordPressKit and WordPressAuthenticator unit tests#23367crazytonyli merged 13 commits intotrunkfrom
Conversation
These files are in the `WordPressKitTests` directory and are used in unit tests.
fa87ec0 to
6af8dc5
Compare
6af8dc5 to
4bd1c0c
Compare
|
| App Name | WordPress Alpha |
|
| Configuration | Release-Alpha | |
| Build Number | pr23367-a6e4252 | |
| Version | 25.1 | |
| Bundle ID | org.wordpress.alpha | |
| Commit | a6e4252 | |
| App Center Build | WPiOS - One-Offs #10208 |
|
| App Name | Jetpack Alpha |
|
| Configuration | Release-Alpha | |
| Build Number | pr23367-a6e4252 | |
| Version | 25.1 | |
| Bundle ID | com.jetpack.alpha | |
| Commit | a6e4252 | |
| App Center Build | jetpack-installable-builds #9257 |
|
|
@kean The original plan is just moving WPKit and WPAuthenticator to this repo, which is completed once this PR is merged. But later, I thought I'll go ahead to try replacing CocoaPods pods with Swift Packages, since WPKit was the blocker from adopting Swift Package in our own libraries. That went pretty well, so I carried on and replaces as many CocoaPods pods as I can, which is done in #23378.
This CI step is gone in #23378. They now run alongside with WordPress unit tests, as you suggested.
This is also done in #23378. BTW, the name "Xxx-Unit-Tests" was created by CocoaPods. We don't have much control over it.
I'll try rerun WPKit unit tests locally (and possibly on CI too), to see if I can fix those flaky tests. Removing them can be the last resort if we can't fix them properly. |
|
@kean Can we get this PR reviewed and merged first? I'll follow up with a separate PR if unit tests require some fixes. |
kean
left a comment
There was a problem hiding this comment.
LGTM
*as long as the tests completes and assuming that most of it is reworked in the next PR. The source changes to the tests look good.
I'm going to ignore the above issues reported by danger, because these podspec files will be deleted soon. |


Note
This PR is built on top of #23366
This PR integrates the exiting unit tests of WordPressKit and WordPressAuthenticator into Xcode and CI.
From Xcode, you run their unit test from the Test navigator.