Remote logging sample, TestFairy integration on Android and iOS

Posted on

TestFairy with Castle Game Engine projects

I added to our Castle Game Engine two very useful features for remote debugging:

  1. You can register custom event on the ApplicationProperties.OnLog list. This allows to observe all the CGE logs (including warnings).

    For example you can send these logs to a remote server. This CGE example shows how to do it. It assumes you have your own server with a simple PHP script somewhere (the PHP example script is also included in the sample code).

  2. You can integrate your mobile game with TestFairy. It is a mobile testing platform that allows to distribute test applications easily (on both Android and iOS). It can also (optionally) gather logs from testers, their device details (phone model etc.), and even record videos of their playthrough.

    For video and logs gathering in CGE, you need to use an Android service test_fairy and iOS service test_fairy.

    Note that TestFairy is a paid service. But they also have a free plan (Essentials Kit).

Comment on this post ➤