Basic-Car-Maintenance icon indicating copy to clipboard operation
Basic-Car-Maintenance copied to clipboard

POC of generating screenshots with a Unit Test

Open Dean151 opened this issue 2 years ago • 2 comments

It uses my personal library that I open sourced just now. Still early in the work, but improving… Screenshots are generated in a folder aside UT, and can be moved around in a fastlane script that execute those tests.

Capture d’écran 2023-11-17 à 17 25 30

Dean151 avatar Nov 17 '23 16:11 Dean151

This is cool!! I think I'm not going to implement it just yet, because I don't want to use a package for this, at the moment, but it's really cool!

Should I make a "test plan" for unit tests and then there would be a separate one for UI tests? @Dean151

mikaelacaron avatar Nov 19 '23 19:11 mikaelacaron

This is cool!! I think I'm not going to implement it just yet, because I don't want to use a package for this, at the moment, but it's really cool!

Should I make a "test plan" for unit tests and then there would be a separate one for UI tests? @Dean151

My implementation is more like:

  • UT & UI tests targets for testing the app
  • Separated UT for screenshots, that we run when needed

Dean151 avatar Nov 20 '23 18:11 Dean151