cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to do continuous integration in SAP (eclipse)

Sucheta
Participant
0 Kudos

fig1.png

I am trying the following steps. Please guide me where I am going wrong.Installed eclipse then ABAP CI plug in. I have a class with unit test class. When I am executing abap unit test it is showing the exception. But I have configured my package for auto trigger of unit test after activation. But it is not getting executed during activation.

fig3.png fig4.png fig5.png fig6.png
Sandra_Rossi
Active Contributor

It seems clear that you are expecting a tolerable error to have a special status. I think ABAP CI has only two states: OK or Failed. If it's tolerable, then it should not be flagged as Failed.

Sandra_Rossi
Active Contributor
0 Kudos

Please use the COMMENT button for comments, questions, adding details, etc., ANSWER is only to propose a solution, dixit SAP text at the right of the answer area: "Before answering You should only submit an answer when you are proposing a solution to the poster's problem"

Sandra_Rossi
Active Contributor
0 Kudos

I have exactly the same preferences as yours, and I don't have any issue, the tests run automatically each time I change and activate some code, and switching between the 3 statuses (*). Maybe I don't experience the exact same scenario as yours, tell us what to do to reproduce.

(*) I noticed that you activated the TDD mode, so there are 3 statuses: "WRITE CODE" (test failed), "REFACTOR" (test ok but no productive code written after test), "WRITE TEST" (test ok and productive code written after test).

Sucheta
Participant
0 Kudos

Removed the TDD option from the preferences. Still the unit tests are not getting executed automatically once I activate the program. Is it possible for you to share any document or relevant you tube so that I can follow the same.

Sandra_Rossi
Active Contributor
0 Kudos

Sorry I don't have the time to do that. If you explain what tests you did, what is your configuration and so on, maybe I can say what you did wrong. What I didn't say till now: I use latest Eclipse 2019-06, latest ADT (2019-06 too), latest ABAP CI, backend ABAP 7.52 SP 1, I tested a Z class-pool with local test class, I changed the test class and/or the productive code and activated to see what's going on. And it works...

Accepted Solutions (0)

Answers (1)

Answers (1)

Well, for me it does not seem like an error from the CI-Plugin. If you have an exact look the ABAP-Unit Test does not return an classic "error" - it is a Unit-Test Warning … or like is is said in the message "Tolerable Assertation error". And as far as I know, the CI-PlugIn does not show any kind of "Warnings".

Maybe it would also be helpful, if you would show us the test code.