V
V
Vladimir Yakushev2015-02-25 17:14:21
Android
Vladimir Yakushev, 2015-02-25 17:14:21

How to configure TestNG in IDEA so that test classes are visible (Connot find class in classpath)?

There is a Gradle project for Android. As an IDE IntelliJ IDEA. The test is written, the jar with TestNG is connected. But when I run the test, I get an error:

org.testng.TestNGException: 
Cannot find class in classpath: ....

I understand that the problem is petty. But where to dig, I do not even understand. Google only offers clean for a project. Tried, doesn't help.
Test settings screenshot:
351bd9707d5c438a9e378414c90e0ecd.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
SlavikF, 2015-03-06
@SlavikF

File -> Project structure -> Libraries
9d378213be754148914145c70fa99c24.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question