The Unity Test Framework package (formerly the “Unity Test Runner”) is a tool that tests your code in both Edit mode and Play mode, and also on target platforms such as Standalone, Android, or iOS.
As of Unity version 2019.2, this tool has been available in the Unity Test Framework package, which you can download in the Unity Package Manager.
For more information on available versions, see the com.unity.test-framework page.