How to test Cloud Code and other server side features?
D
Drew Ferraro
started a topic
over 5 years ago
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?
Drew Ferraro
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