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
With xpect 0.1.0 it was possible to double click on a XPECT entry in the JUnit view. This would then open the DSL test file and select the respective XPECT statement.
With xpect 0.2.0 double clicking on an XPECT entry results in a dialog "Method ... not found. Opening test class". Its still possible to right-click on the entry and choose "Go to XPECT method", however this involves more user interaction.
The text was updated successfully, but these errors were encountered:
trancexpress
changed the title
Douuble clicking on XPECT test result does not navigate to XPECT statement
Double clicking on XPECT test result does not navigate to XPECT statement
Feb 22, 2019
Looks like xpect 0.1.0 uses org.xpect.ui.junit.OpenFileAction, which is "registered" when org.xpect.ui.junit.XpectRunnerUIHandler.contextMenuAboutToShow(ViewPart, ITestElement, IMenuManager) is called. I don't find XpectRunnerUIHandler in the xpect 0.2.0 bundles. I do find OpenFileAction in org.eclipse.xpect.ui.junit. However its only used when calling the "Go to XPECT method" menu entry. It doesn't seem to be associated with the "Go to File" entry, which is called on double click.
With
xpect 0.1.0
it was possible to double click on aXPECT
entry in theJUnit
view. This would then open the DSL test file and select the respectiveXPECT
statement.With
xpect 0.2.0
double clicking on anXPECT
entry results in a dialog "Method ... not found. Opening test class". Its still possible to right-click on the entry and choose "Go to XPECT method", however this involves more user interaction.The text was updated successfully, but these errors were encountered: