Skip to Content
5
Nov 14, 2018 at 03:17 PM

Eclipse ADT Unit Testing Error

455 Views Last edit Nov 14, 2018 at 03:42 PM 2 rev

Current System...

SAP NW 7.52

Eclipse Oxygen 4.7.3a

ADT version 2.102.1

The Issue...

I have been working towards employing Test Driven Development and Unit Testing in my new development.

However, just within the past week I have encountered an issue with writing new unit tests in new global classes.

Generally, I will create the framework of the unit test with the one failing test, which should execute and show a failed test. However, now I am getting an Eclipse internal error message and the tests do not execute. See attached images.

Oddly, when I go into another pre-existing class, where i have fully developed unit tests, they will run without issue, no Eclipse internal error.

What I don't know is if this is an error with Eclipse or with ADT?

Here is the displayed error.

Here is the unit test class.

I have also submitted a bug ticket to Eclipse.

Attachments

eclipseerror.jpg (48.4 kB)
unittest.jpg (64.8 kB)