You would test logic and gameplay manually using the built-in debugger and possibly a custom made debug layout that will show whatever variable or system information you require.
I can't see how you could automate this, or even why you would want to. Testing surely needs human input to make a valid reasoned judgement on whether the game looks and plays as you want it to.