I'm making a clone of an old atari 2600 game, so it's simple, only slightly more complex than the original.
I'm realizing that even the simplest of games have different "parts", what is a good design method to be able to test those sections without having to "play through" to that part?
Specifically, (it's a "breakout" clone) if I'm modifying and testing code that runs when the game is beaten, I don't want to have to play through the whole game just to see if my code works. I can only imagine how complicated this kind of testing is for a game of substantial size.
How do real devs make their game such that they can test just a certain section, or test a section under certain possible in-game circumstances without having to play through to that part?