11-14-2018 3:17 PM
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.
11-26-2018 11:57 AM
I have a very similar issue in my development environment. It seems as old unit tests are working - but not newly created. (Not really sure about this. Just a feeling)
The very same Unit Tests works well in SE80.
Version: Oxygen.3a Release (4.7.3a)
Is there any place / log I should check additionally. The error message from Eclipse is not really helpful.
11-26-2018 1:38 PM
Meinrad,
I agree the error message is useless and I have searched high and low on the net for anything similar, with no luck. So I did the following:
Additionally, there hasn't been any action taken on my reported bug, at Eclipse.org.
Kind regards,
Justin
11-28-2018 10:12 AM
Hi Justin,
we have used an API that is only available as of Eclipse Photon. I don't know have fast we can fix this. Switching from Eclipse Oxygen to Photon or 2018-09 will solve the problem.
Regards, Felix
11-28-2018 2:05 PM
Thank you Felix.
I installed Photon and am using that version now.
Justin
12-11-2018 11:50 AM
Hi Felix,
upgrade to Photon worked for me as well.
Thanks + regards
Meinrad