Jump to test subject for non classes
Answered
Hopefully someone can help me
I have a code base using gradle which contains a load of Jenkins pipelines, and test cases for those pipelines tested using JenkinsPipelineUnit
As the pipelines are not files containing a class, the switch between test and test subject shortcut doesn't work.
I am wondering if there is an annotation which can be used to tell Intellij that a particular test file covers a particular script? I actually have a `@CoversFile` custom annotation I use so that my base test class knows which script to load and execute
Please sign in to leave a comment.
Not quite the same, but seems that I might be able to link the files at least using https://plugins.jetbrains.com/plugin/12895-better-highlights/faq-wikilink
Hi Stephen,
There is no way to do it out of the box I'm afraid.
You are welcome to submit a new feature request to our issue tracker about this.
We have a similar feature request for Spock, for instance.