question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Running Apex Test from command palette is not showing in Output

See original GitHub issue

If I run a deploy command, the output window will show something like `Starting SFDX: Deploy Source to Org

15:10:21.816 sfdx force:source:deploy --sourcepath [filepath]`

If I execute an apex test command, either by clicking the Run Test link or from the command palette, the output window doesn’t show anything. Normally the output window would show the result of the command and the test coverage results, but it simply doesn’t display anything.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
AnanyaJhacommented, Mar 2, 2021

@robcowell Thanks for raising those points, we’ll log a bug to switch to the appropriate output view if you’re not already on it. This change was part of an ongoing effort to separate the roles & responsibilities of each extension - so the output for Apex test runs, anonymous Apex executions, etc. were all moved to the Apex output channel.

1reaction
MirandaJanellcommented, Mar 2, 2021

This change was part of an ongoing effort to separate the roles & responsibilities of each extension - so the output for Apex test runs, anonymous Apex executions, etc. were all moved to the Apex output channel.

This is good to know, thank you for the context.

Read more comments on GitHub >

github_iconTop Results From Across the Web

sfdx plugin - VS Code: Commands run through Command ...
To see the output of the commands that you run, select View > Output, and then select Salesforce CLI from the dropdown menu....
Read more >
Troubleshooting Common Issues | Salesforce for VSCode
If the Apex features aren't available, activate the Apex Language Server. In the VS Code menu bar, select View > Output and select...
Read more >
Apex Test Coverage Not Displaying #1330 - GitHub
Open list of apex test classes in the sidebar and run apex test from the side, invoke apex test from the command palette,...
Read more >
VS Code API | Visual Studio Code Extension API
A code lens represents a Command that should be shown along with source text, like the number of references, a way to run...
Read more >
Salesforce CLI and Visual Studio Code Command Palette
The folder has been created but you need to open it in Your Visual Studio Code by clicking on Open folder shown below....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found