{"id":24756701,"url":"https://github.com/anscoder/appunittest","last_synced_at":"2026-04-13T12:01:45.471Z","repository":{"id":274219053,"uuid":"922253164","full_name":"ANSCoder/AppUnitTest","owner":"ANSCoder","description":"AppUnitTest is a Swift project demonstrating unit testing for iOS applications using XCTest.","archived":false,"fork":false,"pushed_at":"2025-01-25T19:15:34.000Z","size":28,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-06T07:42:50.026Z","etag":null,"topics":["ios-swift","protocol-oriented-programming","swift","swiftdesignpatterns","unittesting"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ANSCoder.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-25T18:08:11.000Z","updated_at":"2025-02-01T04:21:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"910a8319-098f-49de-b96a-424d2abfe175","html_url":"https://github.com/ANSCoder/AppUnitTest","commit_stats":null,"previous_names":["anscoder/appunittest"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ANSCoder/AppUnitTest","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ANSCoder%2FAppUnitTest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ANSCoder%2FAppUnitTest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ANSCoder%2FAppUnitTest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ANSCoder%2FAppUnitTest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ANSCoder","download_url":"https://codeload.github.com/ANSCoder/AppUnitTest/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ANSCoder%2FAppUnitTest/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278358484,"owners_count":25973949,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ios-swift","protocol-oriented-programming","swift","swiftdesignpatterns","unittesting"],"created_at":"2025-01-28T14:20:06.782Z","updated_at":"2025-10-04T18:58:54.168Z","avatar_url":"https://github.com/ANSCoder.png","language":"Swift","readme":"# AppUnitTest\n\n**AppUnitTest** is a sample Swift project designed to demonstrate unit testing in iOS development. The project includes configurations for GitHub Actions to automate builds and tests, ensuring robust and reliable code.\n\n---\n\n## 🚀 Features\n\n- **Unit Testing**: Comprehensive unit tests to ensure code reliability.\n- **CI/CD Integration**: GitHub Actions workflow for automated builds and tests.\n- **Modern Swift Practices**: Leverages Swift and XCTest for a seamless developer experience.\n\n---\n\n## 📂 Project Structure\n\n- **`AppUnitTest`**: The main Xcode project directory.\n- **`Tests`**: Contains unit test cases for various components of the project.\n- **`.github/workflows`**: CI workflow files for automating builds and tests.\n\n---\n\n## ⚡ GitHub Actions Workflow\n\nThe project is configured with a GitHub Actions workflow that:\n\n1. **Triggers**:\n   - On `push` to the `main` branch.\n   - On `pull_request` to the `main` branch.\n\n2. **Steps**:\n   - Checks out the code.\n   - Builds the project using `xcodebuild`.\n   - Runs unit tests on an iOS Simulator.\n\n---\n\n## 🛠️ Requirements\n\n- **Xcode 15.0.1** or higher\n- **macOS 14.7.2** or higher\n- **iOS Simulator** (e.g., iPhone 14)\n\n---\n\n## 📝 Usage\n\n### Running Locally\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/ANSCoder/AppUnitTest.git\n   cd AppUnitTest\n   ```\n2. Open the project in Xcode:\n   ```bash\n   open AppUnitTest.xcodeproj\n   ```\n3. Run the unit tests:\n   - Select the `AppUnitTest` scheme.\n   - Press `Cmd+U` to execute the tests.\n\n### Running Tests via CI\nThe workflow automatically:\n1. Builds the project.\n2. Runs unit tests using GitHub Actions.\n\n---\n\n## 🖇️ Contributing\n\nContributions are welcome! Please follow these steps:\n\n1. Fork the repository.\n2. Create a feature branch:\n   ```bash\n   git checkout -b feature/your-feature-name\n   ```\n3. Commit your changes:\n   ```bash\n   git commit -m \"Add your feature\"\n   ```\n4. Push to the branch:\n   ```bash\n   git push origin feature/your-feature-name\n   ```\n5. Open a pull request.\n\n---\n\n## 📜 License\n\nThis project is open source and available under the [MIT License](LICENSE).\n\n---\n\n## 🤝 Acknowledgments\n\nThanks to all contributors and the iOS developer community for their support and inspiration.\n\n---\n\nFeel free to customize it further to fit your project details! 🚀\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanscoder%2Fappunittest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanscoder%2Fappunittest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanscoder%2Fappunittest/lists"}