Skip to content

StoreKitIntegrationTests: replaced XCTSkipIf with XCTExpectFailure#2244

Merged
NachoSoto merged 1 commit into
mainfrom
eligibility-expect-failure
Jan 26, 2023
Merged

StoreKitIntegrationTests: replaced XCTSkipIf with XCTExpectFailure#2244
NachoSoto merged 1 commit into
mainfrom
eligibility-expect-failure

Conversation

@NachoSoto

Copy link
Copy Markdown
Contributor

See https://developer.apple.com/documentation/xctest/expected_failures

I realized this going through the old PR. Better to actually run the test so that if/when it gets fixed in the future, we're notified because it will "fail".

See https://developer.apple.com/documentation/xctest/expected_failures
I realized this going through the old PR. Better to actually run the test so that if/when it gets fixed in the future, we're notified because it will "fail".
@NachoSoto NachoSoto added the test label Jan 25, 2023
@NachoSoto NachoSoto requested a review from a team January 25, 2023 16:43
@codecov

codecov Bot commented Jan 25, 2023

Copy link
Copy Markdown

Codecov Report

Merging #2244 (a3241ca) into main (fdd7874) will decrease coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #2244      +/-   ##
==========================================
- Coverage   85.85%   85.83%   -0.03%     
==========================================
  Files         183      183              
  Lines       12105    12105              
==========================================
- Hits        10393    10390       -3     
- Misses       1712     1715       +3     
Impacted Files Coverage Δ
...chasing/StoreKitAbstractions/SK1StoreProduct.swift 92.30% <0.00%> (-5.77%) ⬇️
Sources/Logging/Strings/StoreKitStrings.swift 89.70% <0.00%> (-1.48%) ⬇️
...urces/FoundationExtensions/Result+Extensions.swift 100.00% <0.00%> (+2.12%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@NachoSoto

Copy link
Copy Markdown
Contributor Author

Something's weird with these coverage diffs, I wonder if we have some randomness in some test that makes that fluctuate.

@tonidero tonidero left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hmm yeah... Not sure about the coverage change... Code change looks ok though

@NachoSoto NachoSoto merged commit 79df163 into main Jan 26, 2023
@NachoSoto NachoSoto deleted the eligibility-expect-failure branch January 26, 2023 15:43
tonidero pushed a commit that referenced this pull request Feb 1, 2023
**This is an automatic release.**

### Bugfixes
* `CustomerInfoManager`: improved thread-safety (#2224) via NachoSoto
(@NachoSoto)
### Other Changes
* `StoreKitIntegrationTests`: replaced `XCTSkipIf` with
`XCTExpectFailure` (#2244) via NachoSoto (@NachoSoto)
* `PurchasesOrchestrator`: changed `ReceiptRefreshPolicy.always` to
`.onlyIfEmpty` after a purchase (#2245) via NachoSoto (@NachoSoto)
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.

2 participants