Creating and Starting a Test Run in the Code Inspector 
In the Code Inspector, ABAP Unit tests can be used for any object sets.
When configuring the check variant, you can activate ABAP Unit tests by choosing Dynamic Tests -> ABAP Unit. Existing ABAP Unit tests will then run alongside a regular code inspection.