Jump to content

Ugochukwu Mmaduekwe

Members
  • Content Count

    112
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Ugochukwu Mmaduekwe

  1. Ugochukwu Mmaduekwe

    Delphi compiler need to be opensourced

    1. Invest enough to cover the cost of further development and improvements to the compiler? At what gain? It's not like the Delphi ecosystem is really booming. 2. An example of such are Cryptographic Libraries and please don't tell me that Delphi can utilize C/C++ libraries because you and I know how unfriendly that can be (especially finding already compiled libraries for other platforms other than windows) coupled with the problem of distributing the extra binary files. Using C++ libraries was ok at a time when Delphi was Windows only but please we are in the Cross Platform era now. And please do note that I am referring to free OpenSource maintained libraries not closed source sharewares.
  2. Ugochukwu Mmaduekwe

    Delphi compiler need to be opensourced

    While I feel it is not possible for Delphi to open source it's compiler, I highly doubt there are skilled personnels even willing to invest time to improve it for free. The bitter truth is that unfortunately the Delphi ecosystem is not as friendly and lively as other languages ecosystem. A glaring example is the availability of OpenSource libraries to achieve certain operations is no where as vast as that we have in C#, Java or even C++. The VCL and RTL is a different story though.
  3. How do you all test your codebase especially those that use DUnit Testing Framework on mobile devices like Android and iOS. I still do it the old fashion way, compile the demo project with the tests and execute them on my device. while the above works, it's to say the least very stressful. Are there better ways to test my code with DUnit on mobile devices something like a DUnit GUI TestRunner for FMX? Thanks.
  4. Ugochukwu Mmaduekwe

    Travis CI joins Idera

    https://blog.travis-ci.com/2019-01-23-travis-ci-joins-idera-inc Does this mean we get to see Delphi support in Travis CI. What do you all think?
  5. I just hope this nice plugins will not be killed slowly by Embarcadero after integration in the IDE like they did with Castalia.
  6. Ugochukwu Mmaduekwe

    Complete Boolean Evaluation

    because I was been too meticulous.
  7. Ugochukwu Mmaduekwe

    Running UnitTests for Mobile Devices

    Am not sure he is still active on the project. There are open pull requests which are yet to be attended to by him.
  8. I read somewhere online (can't remember where exactly), that StrToUInt64 was buggy in the first version it was released and was fixed in the next compiler release. Anyone have additional information regarding this, (that is what version of Delphi it was first available in and hopefully the version the said bug was fixed in)? Thanks.
  9. Ugochukwu Mmaduekwe

    Which version of Delphi was StrToUInt64 introduced in

    Also I just figured out that it was added in XE6. Thanks a lot for the link @Stefan Glienke
  10. Ugochukwu Mmaduekwe

    Which version of Delphi was StrToUInt64 introduced in

    Thanks for replying. Sorry, I feel very stupid, my question was regarding StrToUInt64.
  11. Ugochukwu Mmaduekwe

    Running UnitTests for Mobile Devices

    Yes, while it works on Android and with some little changes Mac OS X, I couldn't get it to work on iOS unfortunately.
  12. Ugochukwu Mmaduekwe

    Running UnitTests for Mobile Devices

    @John Kouraklis Finally got it to work, below are the steps. 1. Download Angry Port Scanner from Google PlayStore (Do not open) 2. connect your PC and Android to the same WiFi network 3. Open Angry Port Scanner, it will auto select the IP range to scan, in the Ports edit box enter the value 8000-9000 and click the scan icon 4. after the scan is done, it will show you the Open IP and Port, this is the IP and Port we will put in our FMX app. 5. Create a simple GUI FMX app with a button and the tests you want to execute. 6. in the uses clause add (TestInsight.DUnit) , in the OnClick event of the button, add the code below TestInsight.DUnit.RunRegisteredTests('http://IP:PORT'); where IP and PORT are the values we got previously. 7. Compile and deploy the FMX app to your android device, run and click the button 8. go back to your Delphi IDE and open the TestInsight Plugin, you can now see the progress of your Tests. Thanks to everyone who pointed to the right directions that helped me solve this problem.
  13. Ugochukwu Mmaduekwe

    Running UnitTests for Mobile Devices

    Can any one please test if this works on Android because I have tried it on 2 different Android devices now yet no success.
  14. Ugochukwu Mmaduekwe

    Running UnitTests for Mobile Devices

    On my Android or PC?
  15. Ugochukwu Mmaduekwe

    Running UnitTests for Mobile Devices

    so from what I can deduce, the connection back to the plugin on my PC via my IP Is not working on Android, can't seem to figure out why. The annoying thing is that it works fine when I compile it and run my test project on Windows.
  16. Ugochukwu Mmaduekwe

    Running UnitTests for Mobile Devices

    @Stefan Glienke ok, so I tried debugging it but got a strange error related to unable to open socket, so I decided to do it the old fashioned way, Logging, I edited the file TestInsight.DUnit.pas and placed markers in the method procedure RunRegisteredTests(const baseUrl: string); to know if the tests executes at least and I discovered that it did but unfortunately for some strange reasons, it doesn't report it's progress back to TestInsight IDE Plugin, I don't know why it behaves so.
  17. Ugochukwu Mmaduekwe

    Running UnitTests for Mobile Devices

    @Stefan Glienke So I did this 1. Connected my Android Phone and PC to the Same Local Network (MY MiFi) 2. Created a simple FMX app to run my tests and in the buttonClick Event, I added TestInsight.DUnit.RunRegisteredTests('http://IP:8103'); Where IP is the IP Address gotten from TestInsight.ini file 3. Compiled the simple app for Windows, ran it and clicked the button, voila, it triggers the TestInsight plugin and I can see the tests run and report it's result on the plugin. 4. Recompiled the simple app for Android, installed, ran it and clicked the button, nothing happen, the button indicates that it is waiting for something, app is stuck but no indication/notification that the tests are running on the TestInsight plugin on my IDE. What's wrong? Any other suggestions please?
  18. Ugochukwu Mmaduekwe

    Running UnitTests for Mobile Devices

    @Stefan Glienke is it possible to achieve my above question with test insight? any examples?
  19. Ugochukwu Mmaduekwe

    Running UnitTests for Mobile Devices

    wow, this is way over my head. do you have any sample code demo please?
  20. Ugochukwu Mmaduekwe

    Version Control System

    I also use Gitkraken as my Git UI. Never been disappointed by it.
  21. Ugochukwu Mmaduekwe

    Rio quality disappoint

    Exactly.
  22. Ugochukwu Mmaduekwe

    Rio quality disappoint

    Unfortunately, Yes I do.
  23. Ugochukwu Mmaduekwe

    Rio quality disappoint

    Currently use VSCode and OmniPascal as my Editor for now. I suggest you try it out. The only thing I use Delphi for is debugging.
  24. As the title implies, any suggestions please.
×