Unit tests do not run in the app on user devices, so they do not affect app frame rate, memory, or battery during normal use.
However, running many unit tests during development can slow build times and continuous integration pipelines if tests are not efficient.
Good unit tests are fast and isolated, allowing quick feedback without heavy resource use.