You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Execute the test case as JUnit Plug-in Test, the popup described above appears.
Reason: The Xtext Nature should be added by the overriden setUp method, but it is not executed, since the @Before and @BeforeEach annotations are missing. These annotations are not inherited, see junit-team/junit5#960 (comment) , so they should be repeated also on the overridden method,
Whenever executing an outline test with JUnit5 runner, the following popup window opens:
![screenshot](https://private-user-images.githubusercontent.com/20393472/325128375-8b415ac1-9470-4ff6-a393-cae33b6cc753.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTg2Nzc5MzAsIm5iZiI6MTcxODY3NzYzMCwicGF0aCI6Ii8yMDM5MzQ3Mi8zMjUxMjgzNzUtOGI0MTVhYzEtOTQ3MC00ZmY2LWEzOTMtY2FlMzNiNmNjNzUzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MTglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjE4VDAyMjcxMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTY5YTdhODQyZGE2YjQ5ZmYzYTgzNTk5NjgwN2NmYzYzNzZjZDg2Y2RmZjU1MTkwMTVmZjY5NzQzMGMyYjE1OGQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0._pLdEdrFJ3co2wyFyZL8G1EaX6btmDa51tvCGJeeX4Y)
Steps to reproduce:
org.xtext.example.mydsl.ui.tests
project:Reason: The Xtext Nature should be added by the overriden setUp method, but it is not executed, since the
@Before
and@BeforeEach
annotations are missing. These annotations are not inherited, see junit-team/junit5#960 (comment) , so they should be repeated also on the overridden method,Solution: Repeat the annotations on the setUp() method of the AbstractOutlineTest class, similar to the setUp method of the AbstractCursorHandlingTest class.
The text was updated successfully, but these errors were encountered: