Test Sketch without board device

I am new on Ardunio and want to do some work on it.

  • Can it is possible to test program on virual board.
  • Can Ardunio provide some virtual board for testing the projects before testing on real board device.

See this:
Simulator

But like all simulators they will only take you so far because you can not simulate all the hardware you might want to attach to an Arduino.