Skip to content

Instantly share code, notes, and snippets.

@zeitnot
Created June 11, 2014 17:15
Show Gist options
  • Save zeitnot/76d442ed95105f329072 to your computer and use it in GitHub Desktop.
Save zeitnot/76d442ed95105f329072 to your computer and use it in GitHub Desktop.
Shell commands
#!/bin/bash
#Sample rake task
#site = com,dk,de,fr etc...
#spec = spec/sites/, spec/default etc...
#browser = chorme, firefox etc...
#remote = false,true
#version = browser's version, especially for ie
#os = Os' name
#rake test_maniac:run[site,spec,browser,remote,version,os]
for ext in com se
do
rake test_maniac:run[$ext,'',"internet explorer",true,"11","Windows 8.1"]&
rake test_maniac:run[$ext,'',"internet explorer",true,"10","Windows 8"]&
rake test_maniac:run[$ext,'',"internet explorer",true,"11","Windows 7"]&
rake test_maniac:run[$ext,'',"internet explorer",true,"10","Windows 7"]&
rake test_maniac:run[$ext,'',"internet explorer",true,"9","Windows 7"]&
rake test_maniac:run[$ext,'',"internet explorer",true,"8","Windows 7"]&
rake test_maniac:run[$ext,"","internet explorer",true,"8","Windows XP"]&
rake test_maniac:run[$ext,"","internet explorer",true,"7","Windows XP"]&
rake test_maniac:run[$ext,'',firefox,true,'','windows 7']&
rake test_maniac:run[$ext,'',opera,true,'','windows 7']&
rake test_maniac:run[$ext,'',chrome,true,'','windows 7']&
rake test_maniac:run[$ext,'',safari,true,'7','OS X 10.9']&
done
#rake test_maniac:run["com",'spec/default/search_spec.rb',chrome,true,'','windows 7']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment