You are trying to execute it as a query. You need to execute it as a script. Use the second button from the left with the smaller green triangle on it, not the big green triangle.
The SQL Developer unit testing framework involves a set of sequential steps for each test case. The steps are as follows, including the user input for before the step is run and the framework ...
Results that may be inaccessible to you are currently showing.
Hide inaccessible results