Skip to content

test: add tests for the JS-based Xcode project generator#2425

Merged
tido64 merged 6 commits intotrunkfrom
tido/apple/test-js-generator
Mar 25, 2025
Merged

test: add tests for the JS-based Xcode project generator#2425
tido64 merged 6 commits intotrunkfrom
tido/apple/test-js-generator

Conversation

@tido64
Copy link
Member

@tido64 tido64 commented Mar 25, 2025

Description

Add tests for the JS-based Xcode project generator

Platforms affected

  • Android
  • iOS
  • macOS
  • visionOS
  • Windows

Test plan

% yarn test test/ios/*
...
ℹ tests 84
ℹ suites 15
ℹ pass 84
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 531.789125
ℹ start of coverage report
ℹ -----------------------------------------------------------------------------------------------------
ℹ file                        | line % | branch % | funcs % | uncovered lines
ℹ -----------------------------------------------------------------------------------------------------
ℹ ios                         |        |          |         |
ℹ  app.mjs                    |  98.05 |    84.62 |  100.00 | 80-81 85-86
ℹ  assetsCatalog.mjs          |  91.39 |    95.00 |   80.00 | 63-73 120-121
ℹ  entitlements.mjs           | 100.00 |   100.00 |  100.00 |
ℹ  infoPlist.mjs              | 100.00 |   100.00 |  100.00 |
ℹ  localizations.mjs          | 100.00 |   100.00 |  100.00 |
ℹ  newArch.mjs                | 100.00 |   100.00 |  100.00 |
ℹ  privacyManifest.mjs        | 100.00 |   100.00 |  100.00 |
ℹ  utils.mjs                  |  95.70 |    86.67 |  100.00 | 39-40 58-59
ℹ  xcode.mjs                  | 100.00 |   100.00 |  100.00 |
ℹ scripts                     |        |          |         |
ℹ  appConfig.mjs              |  93.94 |    50.00 |  100.00 | 30-31
ℹ  helpers.js                 |  73.17 |   100.00 |   45.45 | 36-43 51-55 62-71 98-104 133-135 142-152
ℹ  utils                      |        |          |         |
ℹ   filesystem.mjs            | 100.00 |   100.00 |  100.00 |
ℹ test                        |        |          |         |
ℹ  fs.mock.ts                 | 100.00 |   100.00 |  100.00 |
ℹ  ios                        |        |          |         |
ℹ   app.test.ts               |  99.66 |    95.45 |  100.00 | 83-84
ℹ   assetsCatalog.test.ts     | 100.00 |   100.00 |  100.00 |
ℹ   entitlements.test.ts      | 100.00 |   100.00 |  100.00 |
ℹ   infoPlist.test.ts         | 100.00 |   100.00 |  100.00 |
ℹ   localizations.test.ts     | 100.00 |   100.00 |  100.00 |
ℹ   newArch.test.ts           | 100.00 |   100.00 |  100.00 |
ℹ   privacyManifest.test.ts   | 100.00 |   100.00 |  100.00 |
ℹ   xcode.test.ts             | 100.00 |   100.00 |  100.00 |
ℹ -----------------------------------------------------------------------------------------------------
ℹ all files                   |  98.30 |    96.62 |   95.63 |
ℹ -----------------------------------------------------------------------------------------------------
ℹ end of coverage report

@tido64 tido64 merged commit ba0f3bc into trunk Mar 25, 2025
30 checks passed
@tido64 tido64 deleted the tido/apple/test-js-generator branch March 25, 2025 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

platform: iOS This affects iOS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants