Created
January 7, 2014 07:10
-
-
Save samgooi4189/8295702 to your computer and use it in GitHub Desktop.
Tips for dynamic generated test yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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