In the section Running the generator of the Yeoman documentation is a hint how to link the local development version of your generator and make it globally available for testing:
$ cd virgo-recipe-generator
$ npm link
From now on you can generate test recipes as if the generator is already installed globally:
export PATH=$PATH:${USER_HOME}/npm-global/bin
$ yo virgo-recipe
_-----_
| | .--------------------------.
|--(o)--| | Welcome to the great |
`---------´ | generator-virgo-recipe |
( _´U`_ ) | generator! |
/___A___\ '--------------------------'
| ~ |
__'.___.'__
´ ` |° ´ Y `
? What's the Virgo recipe name? Test
? What's the Spring Guide short name? test
create dummyfile.txt
Let's head back to the generator source and add some templates...