If you’ve added unit tests to a new project and for some reason they aren’t running… try this.
Double click your blue project icon
Click the Test Target, Build Phases, and expand Compile Sources
Click the ‘+’ sign then ‘Add other’ at the bottom, navigate to your files, and try adding them manually. May fix your problem.