Swift UI/Unit Test Generator Xcode Source Editor Extension

An Xcode extension to generate ui/unit test generator automatically.

Generate All UI Elements

generateAll

Generate Only New Added UI Elements

generateNew

Generate Mock For Unit Test

This generator developed for new unit test structure. The structure will publish open source as soon. You can use with Mock Generator. Generate stub before Swifty's "Generate Mock"

generateMock

Installation

  • Close Xcode if it is open
  • Download the latest release here
  • Copy the app to the Applications folder.
  • Open the app from the applications.
  • Tap the Open Extensions button. Then go to Xcode Source Editor tab and make sure Accessibility Generator is enabled.
  • Open Xcode

If you get a warning message when open the app

Screen Shot 2021-07-08 at 12 21 31

  • Go to System Preferences -> Security & Privacy -> General Tab and tap Open Anyway AccessibilityGenerator.

Screen Shot 2021-07-08 at 12 22 08