Currently eclim will attempt to find the test using the same package
name as the class. The assumption is that tests are put into a
separate directory.

So if your class is model.TransactionSummary, eclim will look for:
- model.TransactionSummaryTest
- model.TestTransactionSummary

it won't look in different packages, partly because that could result
in a false positive.

One thought I had would be to add a pattern setting for converting a
class to its test equivalent. I don't think that would be too hard and
that would add more flexibility.

On 2018-03-01 13:47:48, Rene Vergara wrote:
> Hi,
> 
> I'm using the latest version of eclim on Ubuntu 16.04. I have a class and 
> its test like this:
> 
> model.TransactionSummary.java
> test.TransactionSummaryTest.java
> 
> When I try to run JUnit, I get a 'Unable to find the test for this class' 
> message. How can I specify where my tests are? It seems Eclim can't find 
> them just based on the name.
> 
> Thank you,
> Rene
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "eclim-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to eclim-user+unsubscr...@googlegroups.com.
> To post to this group, send email to eclim-user@googlegroups.com.
> Visit this group at https://groups.google.com/group/eclim-user.
> For more options, visit https://groups.google.com/d/optout.


-- 
eric

-- 
You received this message because you are subscribed to the Google Groups 
"eclim-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to eclim-user+unsubscr...@googlegroups.com.
To post to this group, send email to eclim-user@googlegroups.com.
Visit this group at https://groups.google.com/group/eclim-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to