Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

"Navigate to Test" is only working one-way for me in IDEA 14

$
0
0

Hi,

 

I could use some troubleshooting help.

 

 

Something has definitely changed in IDEA 14 that is preventing this feature from working with my project structure. On IDEA 12 and 13, things were peachy.

 

I have a Java project with 2 modules (well, for simplicity's sake). The "main" module contains a source directory marked as "Source". The "test" module contains a source directory marked as "Test Source".

 

I can run the tests fine, and using IvyIDEA, I had no need to explicitly add a JUnit dependency.

 

 

Now, if I open a class from the "main" module, and hit ctrl+shit+t, I only get the "Create New Test" option.

If I were to open a class from the "test" module, ctrl+shit+t tells me exactly which class it's a test for. (naming pattern: just append "Test" to class name)

 

If I proceed with the "Create New Test" dialog, IDEA correctly identifies the test source directory to place the new test class.

 

I'm a bit stumped as to what could be the cause.

 

I've tried tweaking the "Compile" and "Test" dependencies settings, and I've also tried adding an JUnit library to my "main" module.

 

 

What else am I missing? Anything I can try?


Viewing all articles
Browse latest Browse all 5661

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>