Eclipse + JUnit – Test Class not found

Worked like a charm

IT is Fun

If you trying to perform testing using Eclipse + JUnit

and you hit the following “Test Class not found” exception:

Try do the following:

(1) Configure your project’s Build Path.

Right click project, Properties:

Go to Java Build Path –> Order and Export:

Place the JRE and EAR libraries and the bottom

Now, you can try run again the JUnit from Eclipse.

View original post

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s