How do you test your google play store items?

Am i right in saying that store items don’t work until your game is live?
And then when the game is live is it possible to buy all your store items to test if they work correctly but not spend any money?
Thanks

Alpha / beta testing before rollout. Make sure you’ve got your account added as a tester, then, purchases will cost 0.

First you will need to register with google play console, then add new application for your game there. After you have your project go into STORE PRESENCE → in-app products and add items you want and handle id-s in code of your game. Then you will need to publish the signed game as alpha version on the store and add testers. Be really careful about buying your inapps, if there is no info about test card it will use real money to buy items. Users emails added in Developer Account->Account Details-> License Testing will use a test card to buy inapps and will not be charged for transaction. Three tips about publishing as alpha version, if you are using advertising id provide privacy policy for your app so that it will not be banned from the store. It is better to use different account for testing than the one registered for play console. Last tip, if you are using advertising in your game use test ads for the alpha or disable Pre-launch report to avoid being banned on admob/other provider.