Skip to content

Instantly share code, notes, and snippets.

@justinbarry
Last active December 20, 2015 12:09
Show Gist options
  • Save justinbarry/6128414 to your computer and use it in GitHub Desktop.
Save justinbarry/6128414 to your computer and use it in GitHub Desktop.
#!/bin/sh ruby
development_methodologys = [
'Agile',
'Scrum',
'XP'
]
development_tools = [
'Git',
'Subversion',
'Jira',
'Trac'
]
application_components = [
'JQuery',
'Angularjs',
'Extjs',
'HTML',
'CSS',
'Ruby on Rails',
'PHP',
'Coldfusion',
'JSON',
'Yaml'
]
testing_frameworks = [
'Cucumber',
'Test-Unit',
'Watir',
'RSpec',
'Jasmine'
]
deployment_tools = [
'Puppet',
'Ansible',
'Jenkins',
'AWS',
'Rackspace'
]
number_of_iterations = Random.rand(10...50)
puts "--------------------------------------------"
puts "Describing #{number_of_iterations} projects:"
puts "--------------------------------------------"
puts "\n\n"
(1...number_of_iterations).each do |index|
puts "Project #{index}"
puts "--------------------------------------------"
puts "Given a project directed by #{development_methodologys.sample}"
puts "When developed using #{application_components.sample}"
puts "Then I test with #{testing_frameworks.sample}"
puts "And deploy with #{deployment_tools.sample}"
puts "--------------------------------------------\n\n"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment