This is the environment I use for developing WordPress plugins. 
It uses Vagrant and VirtualBox to setup a virtual linux (Ubuntu) server environment with several WordPress versions starting from 3.1.