I am used to developing apps and scripts for the server version of Jira/Confluence, where it is very easy to just start a local instance to test or even have a copy of a production system running at all times.
However I am not sure what the equivalent to that in the cloud environment would be.