Rebrand from Casera/MyCrib to honeyDue
Total rebrand across KMM project: - Kotlin package: com.example.casera -> com.tt.honeyDue (dirs + declarations) - Gradle: rootProject.name, namespace, applicationId - Android: manifest, strings.xml (all languages), widget resources - iOS: pbxproj bundle IDs, Info.plist, entitlements, xcconfig - iOS directories: Casera/ -> HoneyDue/, CaseraTests/ -> HoneyDueTests/, etc. - Swift source: all class/struct/enum renames - Deep links: casera:// -> honeydue://, .casera -> .honeydue - App icons replaced with honeyDue honeycomb icon - Domains: casera.treytartt.com -> honeyDue.treytartt.com - Bundle IDs: com.tt.casera -> com.tt.honeyDue - Database table names preserved Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
## Overview
|
||||
|
||||
This guide provides step-by-step instructions for implementing comprehensive UI testing for the MyCrib iOS app using XCUITest.
|
||||
This guide provides step-by-step instructions for implementing comprehensive UI testing for the HoneyDue iOS app using XCUITest.
|
||||
|
||||
## Table of Contents
|
||||
|
||||
@@ -18,7 +18,7 @@ This guide provides step-by-step instructions for implementing comprehensive UI
|
||||
### Current Status
|
||||
|
||||
✅ **Already Done:**
|
||||
- UI Test target exists: `MyCribTests`
|
||||
- UI Test target exists: `HoneyDueTests`
|
||||
- Base test infrastructure in place (`TestHelpers.swift`, `BaseUITest`)
|
||||
- Initial test files created
|
||||
|
||||
@@ -272,12 +272,12 @@ Here's a checklist of all views that need accessibility identifiers:
|
||||
|
||||
1. **Open the project:**
|
||||
```bash
|
||||
cd /Users/treyt/Desktop/code/MyCrib/MyCribKMM/iosApp
|
||||
cd /Users/treyt/Desktop/code/HoneyDue/HoneyDueKMM/iosApp
|
||||
open iosApp.xcodeproj
|
||||
```
|
||||
|
||||
2. **Select the test target:**
|
||||
- Product → Scheme → MyCribTests
|
||||
- Product → Scheme → HoneyDueTests
|
||||
|
||||
3. **Choose a simulator:**
|
||||
- iPhone 15 Pro (recommended)
|
||||
@@ -296,27 +296,27 @@ Here's a checklist of all views that need accessibility identifiers:
|
||||
|
||||
```bash
|
||||
# Navigate to iOS app directory
|
||||
cd /Users/treyt/Desktop/code/MyCrib/MyCribKMM/iosApp
|
||||
cd /Users/treyt/Desktop/code/HoneyDue/HoneyDueKMM/iosApp
|
||||
|
||||
# Run all tests
|
||||
xcodebuild test \
|
||||
-project iosApp.xcodeproj \
|
||||
-scheme MyCribTests \
|
||||
-scheme HoneyDueTests \
|
||||
-destination 'platform=iOS Simulator,name=iPhone 15 Pro,OS=17.0'
|
||||
|
||||
# Run specific test class
|
||||
xcodebuild test \
|
||||
-project iosApp.xcodeproj \
|
||||
-scheme MyCribTests \
|
||||
-scheme HoneyDueTests \
|
||||
-destination 'platform=iOS Simulator,name=iPhone 15 Pro,OS=17.0' \
|
||||
-only-testing:MyCribTests/AuthenticationUITests
|
||||
-only-testing:HoneyDueTests/AuthenticationUITests
|
||||
|
||||
# Run specific test method
|
||||
xcodebuild test \
|
||||
-project iosApp.xcodeproj \
|
||||
-scheme MyCribTests \
|
||||
-scheme HoneyDueTests \
|
||||
-destination 'platform=iOS Simulator,name=iPhone 15 Pro,OS=17.0' \
|
||||
-only-testing:MyCribTests/AuthenticationUITests/testLoginWithValidCredentials
|
||||
-only-testing:HoneyDueTests/AuthenticationUITests/testLoginWithValidCredentials
|
||||
```
|
||||
|
||||
### Test Results
|
||||
@@ -359,7 +359,7 @@ jobs:
|
||||
|
||||
- name: Start Django Backend
|
||||
run: |
|
||||
cd myCribAPI
|
||||
cd honeyDueAPI
|
||||
docker-compose up -d
|
||||
sleep 10 # Wait for backend to start
|
||||
|
||||
@@ -369,10 +369,10 @@ jobs:
|
||||
|
||||
- name: Run iOS UI Tests
|
||||
run: |
|
||||
cd MyCribKMM/iosApp
|
||||
cd HoneyDueKMM/iosApp
|
||||
xcodebuild test \
|
||||
-project iosApp.xcodeproj \
|
||||
-scheme MyCribTests \
|
||||
-scheme HoneyDueTests \
|
||||
-destination 'platform=iOS Simulator,name=iPhone 15 Pro,OS=17.2' \
|
||||
-resultBundlePath TestResults.xcresult \
|
||||
-enableCodeCoverage YES
|
||||
@@ -382,7 +382,7 @@ jobs:
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: test-results
|
||||
path: MyCribKMM/iosApp/TestResults.xcresult
|
||||
path: HoneyDueKMM/iosApp/TestResults.xcresult
|
||||
|
||||
- name: Upload Screenshots
|
||||
if: failure()
|
||||
@@ -395,7 +395,7 @@ jobs:
|
||||
- name: Stop Docker Containers
|
||||
if: always()
|
||||
run: |
|
||||
cd myCribAPI
|
||||
cd honeyDueAPI
|
||||
docker-compose down
|
||||
```
|
||||
|
||||
@@ -408,10 +408,10 @@ jobs:
|
||||
Create a `.xctestplan` file for better organization:
|
||||
|
||||
1. In Xcode: File → New → Test Plan
|
||||
2. Name it: `MyCribTestPlan.xctestplan`
|
||||
2. Name it: `HoneyDueTestPlan.xctestplan`
|
||||
3. Configure:
|
||||
- **Configurations**: Debug, Release
|
||||
- **Test Targets**: MyCribTests
|
||||
- **Test Targets**: HoneyDueTests
|
||||
- **Code Coverage**: Enable
|
||||
- **Screenshots**: Automatically on failure
|
||||
|
||||
|
||||
Reference in New Issue
Block a user