sbcgua / mockup_compiler

ABAP Excel to zip converter for mockup loader tool
MIT License
0 stars 1 forks source link

fix typo #1

Closed larshp closed 6 years ago

sbcgua commented 6 years ago

Thanks Lars ! =)

sbcgua commented 6 years ago

@larshp one off-topic question: do you occasionally know how to trigger unit test execution for a given object (program, class, package...)? Kind of cl_abap_unit_test_run( 'zmy_pkg' ) (well, probably more lines of course) and it'd display the result like if I'd trigger it manually in IDE transactions.

larshp commented 6 years ago

via custom code? try taking a look at https://github.com/larshp/abapOpenTest/blob/master/src/runner/zcl_aot_runner.clas.abap#L204

sbcgua commented 6 years ago

yeap, looks very promising, thanks a lot ! Will have a closer look.
I actually want to do some watching tool. If change is detected in unit test data (mockup_loader slug) or in code (maybe, if I'm not lazy to do it) then re-run the specific UT.
Actually the code you hinted look to do something similar, no ? :) At least there is some timer check I haven't looked closer yet.

larshp commented 6 years ago

video here: https://www.youtube.com/watch?v=UGHJnCczLGk

it runs all unit tests with full coverage, so its possible to tell which code is hit by a unit test, also code outside of the main class is tracked. So, yes, it is a bit like your idea, PRs welcome 😄

sbcgua commented 6 years ago

Abap CI :) Cool ! Very very interesting, thanks ! :+1:
BTW does this work on below 7.4 (7.31 in particular) ?

larshp commented 6 years ago

¯_(ツ)_/¯

but I dont think it will require lots of changes, if any