If you want to create and run test on your local PC environment, you need to do the following setup on a Mac machine. (For iOS, you can create and run test more easily by using cloud environment)
Magic Pod Desktop
Download Magic Pod Desktop, unzip the downloaded zip file by double click, and place "Magic Pod Desktop" to under "Application" folder. (If you try to open Magic Pod Desktop under other directory, you may encounter an error such as "%@ is not found" "cannot open the application Magic Pod Desktop".)
Set up iOS/Android environment
Then you need to prepare the environment to use Magic Pod Desktop. Do the following setup according to the platform you want to test.
Create tests
Once you finish the setup, create your test according to here.