Hi Guys
Just picked up an interesting thread dating back to 2018 on Unit Testing see Unit testing
I have done some quick fixes so it can compile with latest version of B4A. I have documented in the source - (hope the changes are ok) - project file attached.
Whlist, it does work (there are some minor issues which should be fixable) the major issue for me it that if you insert a break point in the code to be tested - it don't break.
i.e. try inserting a break point in CTest_1.Test_1() sub and other places - none work!
Question: Have I done something silly that is causing it not to break?
Note: It uses Java code to run the test objects, perhaps the IDE debug has problems with breaking with an object called in this manner.
Kind regards
Dave
Just picked up an interesting thread dating back to 2018 on Unit Testing see Unit testing
I have done some quick fixes so it can compile with latest version of B4A. I have documented in the source - (hope the changes are ok) - project file attached.
Whlist, it does work (there are some minor issues which should be fixable) the major issue for me it that if you insert a break point in the code to be tested - it don't break.
i.e. try inserting a break point in CTest_1.Test_1() sub and other places - none work!
Question: Have I done something silly that is causing it not to break?
Note: It uses Java code to run the test objects, perhaps the IDE debug has problems with breaking with an object called in this manner.
Kind regards
Dave