Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Sheng Chen edited this page May 6, 2023 · 4 revisions

I cannot see the test run button in the editor gutter, why?

Only the files which are in the test scope will have the run button in the editor. Here is how you can configure the test scope for different kinds of projects:

Project Kind Configuration
Maven projects Use <testSourceDirectory/> to configure the test source paths. Default is src/test/java.
Gradle projects Use sourceSets to configure the test source paths. Default is src/test/java.
Eclipse projects All the source files will be treated as testable files.
Invisible projects All the source files will be treated as testable files.

Note: Files that do not belong to the current workspace will be ignored.

Clone this wiki locally

Morty Proxy This is a proxified and sanitized view of the page, visit original site.