How to simulate the example sketches

Hi!

I am learning the Ardupilot code, and I am able to compile and upload the example sketches to my Pixhawk (for example, the GPS_AUTO_test). I can also connect a terminal to see the outputs.

I was wondering, is there any way to do everything in my computer?? You can test the complete sketch by doing a SITL, but the example sketches??

Thanks in advance!