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
As a BEF user
I would like to right click on my Java file in the Package Explorer
Such that I have an option to Run As -> Bazel Target
Background:
(Salesforce internal) we once had this working via a class plugin-core/.../launcher/BazelJunitTargetLaunchShortcut.java in the old bazel-eclipse repo (go back to commits in Oct 2019). It wasn't working before we cut to the public repo, so it was removed temporarily.
When working this ticket, consider that we also want to be able to run 'all tests' in one action using the right-click UX. Either incorporate that into this work, or create a follow up Issue to address that.
The text was updated successfully, but these errors were encountered:
Salesforce internal: we had right-click launchers working at one point, but it was broken at time of transition to public, so the code we had for it was pulled. Look for BazelJunitTargetLaunchShortcut.java in the internal repo in older history. Also, this Issue has a set of internal shadow tickets that all map to this feature. Search on #38 and you find them.
in the Package Explorer, click on the test folder (src/test/java), a test Java package (com.salesforce.hello), or a specific test class (HelloWorldTest.java)
right click on it, and find the 'Run As' or 'Debug As' item in the context menu
choose 'JUnit Bazel Target'
the JUnit view will populate with the test results
If the Run/Debug As context menu does not appear, or throws an error, it is likely due to #46
As a BEF user
I would like to right click on my Java file in the Package Explorer
Such that I have an option to Run As -> Bazel Target
Background:
(Salesforce internal) we once had this working via a class plugin-core/.../launcher/BazelJunitTargetLaunchShortcut.java in the old bazel-eclipse repo (go back to commits in Oct 2019). It wasn't working before we cut to the public repo, so it was removed temporarily.
When working this ticket, consider that we also want to be able to run 'all tests' in one action using the right-click UX. Either incorporate that into this work, or create a follow up Issue to address that.
The text was updated successfully, but these errors were encountered: