Skip to content

Instantly share code, notes, and snippets.

@samgooi4189
Created January 7, 2014 07:10
Show Gist options
  • Save samgooi4189/8295702 to your computer and use it in GitHub Desktop.
Save samgooi4189/8295702 to your computer and use it in GitHub Desktop.
Tips for dynamic generated test yml
To save time from repeatedly typing the same dataset with little difference, it is better to use erb script to help the process. By using the erb script, you can generate a lot of data using just a few lines of code.
Here is common troubleshooting:
a. The file extension will still be .yml, not .erb .
b. When you write your script, prevent the use of <tab>.
Enjoy and get back to work.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment