Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
eric_wu
Product and Topic Expert
Product and Topic Expert
605

Running the abap unit test executes all the test methods in the Unit Test Class within the Repository Browser (T-Code: SE80), this is not conducive to debugging and executing a given test method.

This can be resolved by switching to the ABAP Unit Browser in SE80.

1. Enable ABAP Unit Browser

To enable the ABAP Unit Test Browser, in the Object Navigator (T-Code: SE80), choose  Utilities -> Settings on the Workbench tab, select ABAP Unit Browser.

eric_wu_0-1710740803875.png

eric_wu_1-1710740902784.png

2. Use ABAP Unit Browser

It will scan and list the test methods defined in the objects you specified, right click on a test method, choose Execute Test Method.

eric_wu_3-1710741784076.png

eric_wu_4-1710741967958.png

The Execute option in the menu bar still supports running the entire unit test class.

eric_wu_6-1710742144766.png