Skip to content

codedbyaman/UiTestify-iOS

Repository files navigation

UITestify – iOS UI Testing Sample App 📱✅

UITestify is a lightweight iOS application designed to help developers and QA engineers learn and practice writing UI tests using XCUITest. This app mimics a real-world quiz flow with multiple UI components, timers, and result tracking — making it ideal for practicing test case design, accessibility usage, and automation strategies.

🎥 Demo

uiTestify.video.mp4

🚀 Features

  • Built with Swift and UIKit
  • Covers key UI test scenarios:
    • Button actions (Start, Reset, Next, Result)
    • Timers for each question
    • Score calculation and result display (Pass/Fail based on 60%)
  • Clean architecture for scalable test cases
  • Uses accessibility identifiers for robust test automation
  • Includes conditional button behavior (e.g., Next disabled during quiz)
  • Supports edge-case handling and reset flow validation

🧪 Ideal Use Cases

  • Learn XCUITest automation from scratch
  • Practice writing test cases with real components
  • Create or extend your own test flows
  • Build UI testing logic into Swift-based iOS apps
  • Improve test stability with accessibility best practices

🛠 Getting Started

📦 Requirements

  • macOS with Xcode 14+
  • Basic knowledge of Swift and UIKit
  • XCUITest experience (beginner-friendly)

🧾 Installation

  1. Fork this repository to your GitHub account.
  2. Clone the repository:
    git clone https://github.com/your-username/UITestify-iOS.git
    cd UITestify-iOS
    

Open the project in Xcode:

bash Copy Edit open UITestify.xcodeproj Select your simulator or device and build: Cmd + R to run the app Cmd + U to run the XCUITests

📸 Screenshots

Add screenshots of app screen and test cases here.

🤝 How to Contribute

Want to improve this project? 💡 Fork the repo and clone it locally 🧪 Try writing your own UI test cases 🛠 Submit pull requests with new scenarios or improvements

📚 Learning Resources

XCUITest – Apple Developer Docs

Hacking with Swift – UI Testing

📘 License

This project is open-source and available under the MIT License.

🙌 Acknowledgements

Special thanks to the open-source community and everyone contributing to iOS testing tools and documentation.

Happy Testing! 🎯

Tag your contributions with #UITestify if you share it online.

About

A simple and structured iOS application built to practice and demonstrate UI testing techniques using Swift and Xcode. The app includes multiple screens, user interactions, and accessibility features to cover a wide range of UI test scenarios.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages