element-x-ios/Tools/Scripts
Mauro 9d91cd4fc0
Preview Tests (#1768)
* preview testing

* removed some views that are not really testabl in UnitTests and improved other tests
2023-09-20 17:33:31 +02:00
..
Templates/SimpleScreenExample Preview Tests (#1768) 2023-09-20 17:33:31 +02:00
README.md Update App Icon (#1720) 2023-09-15 12:34:01 +01:00
createScreen.sh Update template screen naming. (#824) 2023-04-24 15:03:46 +01:00
parsePerformanceMetrics.sh Fix integration test performance parsing 2023-08-28 13:44:34 +03:00
validate_lfs.sh Add validate-lfs.sh check from Android. (#203) 2022-09-22 09:36:51 +01:00

README.md

Scripts

Create screen templates

New screen flows are currently using the MVVM-Coordinator pattern. Run Tools/Scripts/createScreen.sh to create a new screen and all its required dependencies.

Usage:

./createScreen.sh Folder MyScreenName

After that run xcodegen to regenerate the project.

createScreen.sh script will create:

  • Folder within the /ElementX/Sources/Screens/. Files inside will be named MyScreenNameXxx.
  • MyScreenNameScreenUITests.swift within UITests/Sources
  • MyScreenNameViewModelTests.swift within UnitTests/Sources/Unit