I'm currently developing an app for iOS and macOS using Catalyst. With the changes in Xcode 12 I'm considering moving everything into the new Multiplatform app template.
When I created a new project using Multiplatform app including Tests I was surprised that I got only 2 test targets in my project. one for iOS and one for macOS.
Both targets contain templates for UITest classes. Now I'm wondering where to put my UnitTests? Is it intended to put the unit tests into the macOS- / iOS-test target or better to create a separate UnitTest target and put everything there? Maybe even create a Framework Target with tests for my shared code?
When I created a new project using Multiplatform app including Tests I was surprised that I got only 2 test targets in my project. one for iOS and one for macOS.
Both targets contain templates for UITest classes. Now I'm wondering where to put my UnitTests? Is it intended to put the unit tests into the macOS- / iOS-test target or better to create a separate UnitTest target and put everything there? Maybe even create a Framework Target with tests for my shared code?