Getting Application Name in XCtest

Is there a way to get the name of the application for which we are running the test. Since I have several goals, I need to get the name of the application. Currently, I only get the name of the test application through Bundle.main.object (forInfoDictionaryKey: "CFBundleName"), and not the main name of the application.

+4
source share

Source: https://habr.com/ru/post/1658651/


All Articles