andau / abapCI

Continuous Integration for ABAP
MIT License
62 stars 14 forks source link

Run Unit Tests on save ( Settings ) #2

Closed TimoJohn closed 5 years ago

TimoJohn commented 6 years ago

Hello Andreas, for my understanding it does not make sense in ABAP to run the unit test after SAVE as it would use the old load of code.
=> Pls Change to "after Activation"

andau commented 6 years ago

I run the unit test after the activation, see the description in issue 1. Well due to the fact that the activation is asynchronous without feedback to the Eclipse editor it can happen that in rare cases the first run takes some old code. But in nearly all cases the 10 second run should get the activated code and the 30 second run should cover the rest. Thats not yet an ideal approach, so ideas welcome.