Unit testing

What is RiderFlow? And where to find it?

To work with Unity tests, use the Unit Tests window.

You can add new Unity tests either in the Unity editor or in Rider.

Unity tests are discovered from code and from the Unity editor and are automatically added to the Explorer tab of the Unit Tests tool window. All Rider unit test features are available for Unity tests too including grouping, filtering based on test status, and other. Test output is parsed to make stack traces, class and method names into hyperlinks.

The Unit Tests window allows you to choose which unit test runner you want to use. For example, it could be a standalone NUNit launcher, or the Unity Editor in either Edit Mode or Play Mode.

You can run and debug edit-mode Unity tests like you run regular unit tests.

See Also