Sign In Register

How can we help you today?

Start a new topic

How to test Cloud Code and other server side features?

hi,


As a developer, how do I test my Cloud Code/ Events and other server side features? Is there some way to route this code locally to my local developer machine to test the code? If not, how do I test my code?


Are there ways to mock implementations of dependencies and write unit tests?


What about logging? If an error occurs in my script, how do I troubleshoot and debug?


Thank you!


Drew


1 Comment

Hi Drew,

Have you had a look at our Test Harness?

https://docs.gamesparks.com/documentation/test-harness/

Cheers,
Omar

 

Login to post a comment