8000 Can't navigate from tests panel to source code · Issue #26 · jasmine/IdeaJasmine · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Can't navigate from tests panel to source code #26

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
andruhon opened this issue May 1, 2025 · 1 comment
Open

Can't navigate from tests panel to source code #26

andruhon opened this issue May 1, 2025 · 1 comment
Labels
enhancement New feature or request help needed Extra attention is needed

Comments

@andruhon
Copy link
andruhon commented May 1, 2025

In other test suite plugins I'm able to hit F4 on the test and this takes me to the source code of this test, in IdeaJasmine I can't do this.

Expectation

  • This should be possible to navigate from cetain it test to the code of this test

Actual behaviour

  • No real way was found to navigate to source code from tests panel.

Image

I'm not sure if this is my misconfiguration, a bug or a lack of a feature.

@sgravrock
Copy link
Member

Lack of a feature, as far as I know. I don't think it ever worked. It would be a good addition though, and I'd be happy to review a PR that adds it.

The code that processes and displays results comes from the JetBrains platform itself, not this plugin, so outputting the spec locations in the same way as the bundled Mocha and Jest reporters should work. I think adding locationHint attributes to the relevant reporter events is the right way to communicate the filename, e.g. ##teamcity[testStarted name='My Spec Name' locationHint='file://some/path/.js' /* ... */]. I'm not sure how to provide the line number though.

I'd be happy to review a PR that adds this feature, if you or anyone else wants to take it on.

@sgravrock sgravrock added enhancement New feature or request help needed Extra attention is needed labels May 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help needed Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants
0