Add the UITest to your project.
If you didn't create it when you created the project, you can add it by following the steps in the image below.
Write @testable import Swiswiswift
(Swiswiswift is the name of the project) so that you can refer to it in the test class.
By prefixing the function name with “test”, it can be executed as a test.