Difference between AppUITestsLaunchTests and AppUITests

Hi,

In a new project, when I check the option to include tests, two default UI test files are created:

  • ProjectName_AppUITests
  • ProjectName_AppUITestsLaunchTests

What is the AppUITestsLaunchTests for? What type of tests belong in the AppUITests and what tests belong in the AppUITestsLaunchTests?

Thanks!

Hello!

UI tests refer to any tests that run through sequences of actions in your app to test its functionality as a user would. UI tests are designed to test user workflows.

Launch Tests are a subset of UI tests which can test how your app launches in many configurations- including device orientations, languages, and appearance modes. Launch tests can provide you screenshots of how your app looks in all of these configurations, or tell you how quickly your app launches in each one.

Difference between AppUITestsLaunchTests and AppUITests
 
 
Q