autotest-notification 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) hide show
  1. data/History.txt +61 -0
  2. data/License.txt +20 -0
  3. data/Manifest.txt +59 -0
  4. data/PostInstall.txt +9 -0
  5. data/README.txt +139 -0
  6. data/Rakefile +4 -0
  7. data/autotest-notification.gemspec +48 -0
  8. data/bin/an-install +105 -0
  9. data/bin/an-uninstall +49 -0
  10. data/bin/playsound +0 -0
  11. data/config/hoe.rb +77 -0
  12. data/config/requirements.rb +15 -0
  13. data/images/buuf/fail.png +0 -0
  14. data/images/buuf/pass.png +0 -0
  15. data/images/buuf/pending.png +0 -0
  16. data/images/doom/doom_0.png +0 -0
  17. data/images/doom/doom_1.png +0 -0
  18. data/images/doom/doom_2.png +0 -0
  19. data/images/doom/doom_3.png +0 -0
  20. data/images/doom/doom_4.png +0 -0
  21. data/images/doom/doom_5.png +0 -0
  22. data/images/doom/doom_6.png +0 -0
  23. data/images/fail.png +0 -0
  24. data/images/pass.png +0 -0
  25. data/images/pending.png +0 -0
  26. data/lib/autotest_notification.rb +128 -0
  27. data/lib/autotest_notification/buuf.rb +9 -0
  28. data/lib/autotest_notification/cygwin.rb +34 -0
  29. data/lib/autotest_notification/doom.rb +27 -0
  30. data/lib/autotest_notification/linux.rb +58 -0
  31. data/lib/autotest_notification/mac.rb +30 -0
  32. data/lib/autotest_notification/version.rb +9 -0
  33. data/lib/autotest_notification/windows.rb +11 -0
  34. data/script/console +10 -0
  35. data/script/destroy +14 -0
  36. data/script/generate +14 -0
  37. data/script/txt2html +82 -0
  38. data/setup.rb +1585 -0
  39. data/sounds/doom/0.wav +0 -0
  40. data/sounds/doom/1.wav +0 -0
  41. data/sounds/doom/2.wav +0 -0
  42. data/sounds/doom/3.wav +0 -0
  43. data/sounds/doom/4.wav +0 -0
  44. data/sounds/doom/5.wav +0 -0
  45. data/sounds/doom/6.wav +0 -0
  46. data/tasks/deployment.rake +34 -0
  47. data/tasks/environment.rake +7 -0
  48. data/tasks/website.rake +17 -0
  49. data/test/autotest_notification/test_cygwin.rb +10 -0
  50. data/test/autotest_notification/test_linux.rb +91 -0
  51. data/test/autotest_notification/test_mac.rb +78 -0
  52. data/test/autotest_notification/test_windows.rb +12 -0
  53. data/test/test_autotest_notification.rb +44 -0
  54. data/test/test_helper.rb +25 -0
  55. data/website/index.html +86 -0
  56. data/website/index.txt +83 -0
  57. data/website/javascripts/rounded_corners_lite.inc.js +285 -0
  58. data/website/stylesheets/screen.css +138 -0
  59. data/website/template.html.erb +48 -0
  60. metadata +155 -0
data/History.txt ADDED
@@ -0,0 +1,61 @@
1
+ 2.1.0
2
+ * Added support for cucumber (ernestonakamura)
3
+
4
+ 1.6.0 - Oct 08, 2008
5
+ * Buuf Edition - display Buuf icons by Mattahan [http://mattahan.deviantart.com] (samflores)
6
+ * Added --sticky flag to an-install to keep notifications on screen in case of errors/failures or pending specs (samflores)
7
+ * Pending notifications now have a priority different from Passed and Failled notifications, to allow set diff color with Growl (samflores)
8
+
9
+ 1.5.0 - Oct 02, 2008
10
+ * If an-install is run with --pending, shows a yellow warning when there are no errors/failures but there are pending specs. (lucasuyezu)
11
+
12
+ 1.4.0 - Jun 18, 2008
13
+ * Special Doom Edition for Linux (ozsantana)
14
+
15
+ 1.3.1 - Jun 18, 2008
16
+ * Added backup to old .autotest file (tchandy)
17
+
18
+ 1.3.0 - Jun 18, 2008
19
+ * Added Doom sounds.
20
+
21
+ 1.2.0 - Jun 17, 2008
22
+ * Special Doom Edition
23
+
24
+ 1.1.2
25
+ * Refactoring code.
26
+
27
+ * 1.1.1
28
+ * Changed to speak when passing the tests after a series of failures. Only in Mac.
29
+
30
+ * 1.1.0
31
+ * Now speaking in Linux too.
32
+
33
+ * 0.3.0
34
+ * If a test failed, the computer will speak. Only for Mac.
35
+
36
+ * 0.2.2 2008-05-13
37
+ * Validating presence of KDialog; Fixing some identations.
38
+ * Adding some tests.
39
+
40
+ * 0.2.1 2008-05-13
41
+ * Starting to add tests.
42
+
43
+ * 0.2.0 2008-05-13
44
+ * Added support to Gnome at linux.rb (zenity).
45
+ * Changed filename windows.rb to cygwin.rb and added a new windows.rb file that uses Snarl to show the messages.
46
+ * README.txt updated with windows and linux dependencies.
47
+
48
+ * 0.1.0 2008-05-13
49
+ * Separated each operating system into a different file to facilitate maintenance. It's necessary to conduct more tests in each scene.
50
+
51
+ * 0.0.9:
52
+ * Adding KDE (kdialog) support.
53
+
54
+ * 0.0.7:
55
+ * Added support to Windows.
56
+
57
+ * 0.0.4:
58
+ * Added an-uninstall to remove the autotest hook.
59
+
60
+ * 1 major enhancement:
61
+ * Initial release
data/License.txt ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2008 Carlos Brando
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/Manifest.txt ADDED
@@ -0,0 +1,59 @@
1
+ History.txt
2
+ License.txt
3
+ Manifest.txt
4
+ PostInstall.txt
5
+ README.txt
6
+ Rakefile
7
+ autotest-notification.gemspec
8
+ bin/an-install
9
+ bin/an-uninstall
10
+ bin/playsound
11
+ config/hoe.rb
12
+ config/requirements.rb
13
+ images/buuf/fail.png
14
+ images/buuf/pass.png
15
+ images/buuf/pending.png
16
+ images/doom/doom_0.png
17
+ images/doom/doom_1.png
18
+ images/doom/doom_2.png
19
+ images/doom/doom_3.png
20
+ images/doom/doom_4.png
21
+ images/doom/doom_5.png
22
+ images/doom/doom_6.png
23
+ images/fail.png
24
+ images/pass.png
25
+ images/pending.png
26
+ lib/autotest_notification.rb
27
+ lib/autotest_notification/buuf.rb
28
+ lib/autotest_notification/cygwin.rb
29
+ lib/autotest_notification/doom.rb
30
+ lib/autotest_notification/linux.rb
31
+ lib/autotest_notification/mac.rb
32
+ lib/autotest_notification/version.rb
33
+ lib/autotest_notification/windows.rb
34
+ script/console
35
+ script/destroy
36
+ script/generate
37
+ script/txt2html
38
+ setup.rb
39
+ sounds/doom/0.wav
40
+ sounds/doom/1.wav
41
+ sounds/doom/2.wav
42
+ sounds/doom/3.wav
43
+ sounds/doom/4.wav
44
+ sounds/doom/5.wav
45
+ sounds/doom/6.wav
46
+ tasks/deployment.rake
47
+ tasks/environment.rake
48
+ tasks/website.rake
49
+ test/autotest_notification/test_cygwin.rb
50
+ test/autotest_notification/test_linux.rb
51
+ test/autotest_notification/test_mac.rb
52
+ test/autotest_notification/test_windows.rb
53
+ test/test_autotest_notification.rb
54
+ test/test_helper.rb
55
+ website/index.html
56
+ website/index.txt
57
+ website/javascripts/rounded_corners_lite.inc.js
58
+ website/stylesheets/screen.css
59
+ website/template.html.erb
data/PostInstall.txt ADDED
@@ -0,0 +1,9 @@
1
+
2
+ For more information on autotest_notification, see http://github.com/carlosbrando/autotest-notification/
3
+
4
+ To turn on the notifier you need to run the following command:
5
+ an-install
6
+
7
+ To turn off:
8
+ an-uninstall
9
+
data/README.txt ADDED
@@ -0,0 +1,139 @@
1
+ = THE AUTOTEST NOTIFICATION GEM
2
+
3
+ * http://github.com/carlosbrando/autotest-notification/
4
+
5
+
6
+ == DESCRIPTION:
7
+
8
+ This gem set the autotest (ZenTest) to send messages to software as Growl, LibNotify, and Snarl, displaying a window with the results.
9
+
10
+
11
+ == REQUIREMENTS:
12
+
13
+ Independent of operating system you are using, you must install the ZenTest:
14
+
15
+ $ gem install ZenTest
16
+
17
+
18
+ * If you're using a Mac:
19
+ You need to have Growl and growlnotify installed on your machine.
20
+
21
+ Download the Growl [http://growl.info/index.php] and install it like any other application on your Mac
22
+
23
+ Then you must install the growlnotify.
24
+
25
+ In your shell, cd to the directory on the Growl disk image containing growlnotify, and type ./install.sh.
26
+ That script will install growlnotify to /usr/local/bin and the manpage to /usr/local/man.
27
+
28
+ If you want to be notified with voice of the test results, when running an-install, pass a "-s" switch, when you do not want voices notifications anymore, just run it again without the "-s" switch.
29
+
30
+
31
+ * If you're using Windows (with cygwin):
32
+ You need to have Snarl and sncmd installed on your machine.
33
+
34
+ Download Snarl [http://www.fullphat.net/] and install it like any other application on your machine.
35
+
36
+ Then download sncmd [http://www.k23productions.com/download.php?view.105] open the zip file and place
37
+ the executable from the zip in any directory in windows PATH (for example c:\windows).
38
+
39
+
40
+ * If you're using Windows (without cygwin):
41
+ You need to have Snarl, diffutils and ruby-snarl installed on your machine.
42
+
43
+ Download Snarl [http://www.fullphat.net/] and install it like any other application on your machine.
44
+
45
+ Download DiffUtils for Windows [http://gnuwin32.sourceforge.net/packages/diffutils.htm] and follow the installation instructions on the site.
46
+
47
+ Run in the command prompt:
48
+
49
+ $ gem install ruby-snarl
50
+
51
+ After all that. You must update the environment variable PATH with the path to the bin of diffutils.
52
+ It's the price that was paid for using Windows (try cygwin).
53
+
54
+
55
+ * If you're using Linux:
56
+ You need to have libnotify binaries installed.
57
+
58
+ For ubuntu this means: sudo apt-get install libnotify-bin
59
+
60
+ Other distributions may package it with other names, do a search for libnotify using your distribution package manager.
61
+
62
+ If you use KDE and do not have libnotify-bin installed, it will try to use kdialog wich is part of KDE.
63
+ It also works if you have zenity installed.
64
+
65
+ If you want to be notified with voice of the test results, instal espeak [http://espeak.sourceforge.net/] too, it is not needed.
66
+ And when running an-install, pass a "-s" switch, when you do not want voices notifications anymore, just run it again without the "-s" switch.
67
+
68
+ To hear the sounds of Doom Edition, you need the mplayer [http://www.mplayerhq.hu/design7/dload.html] installed.
69
+
70
+
71
+ == INSTALL:
72
+
73
+ $ sudo gem install carlosbrando-autotest-notification --source=http://gems.github.com
74
+
75
+ Run it to let the notifier in automatic mode:
76
+
77
+ $ an-install
78
+
79
+ In Windows without cygwin, it's necessary to install in the directory of the project:
80
+
81
+ $ an-install --path=C:\projects\my_project
82
+
83
+ To turn off the notifier:
84
+
85
+ $ an-uninstall
86
+
87
+
88
+ == Special Doom Edition
89
+
90
+ $ an-install --doom --speaking
91
+
92
+ == Buuf Edition - Display Buuf icons by Mattahan [http://mattahan.deviantart.com]
93
+
94
+ $ an-install --buuf
95
+
96
+ == Showing a yellow warning image when there are no errors/failures but there are pending specs
97
+
98
+ $ an-install --pending
99
+
100
+ == CONTRIBUTORS:
101
+
102
+ * carlosbrando [http://www.nomedojogo.com]
103
+ * simpsomboy [http://alexandredasilva.wordpress.com]
104
+ * urubatan [http://www.urubatan.info]
105
+ * chjunior [http://tas.milk-it.net]
106
+ * daviscabral [http://blog.impactmedia.com.br]
107
+ * tapajos [http://www.improveit.com.br/tapajos]
108
+ * tchandy [http://tchandy.wordpress.com]
109
+ * ozsantana [http://blog.iconcreative.net]
110
+ * lucasuyezu [http://xucros.com]
111
+ * samflores [http://www.thoughtsoverflow.com]
112
+ * dcrec1 [http://www.mouseoverstudio.com/blog]
113
+ * nuxlli [http://www.nuxlli.com.br]
114
+ * ernestonakamura [http://github.com/ernestonakamura]
115
+
116
+ == LICENSE:
117
+
118
+ (The MIT License)
119
+
120
+ Copyright (c) 2008
121
+
122
+ Permission is hereby granted, free of charge, to any person obtaining
123
+ a copy of this software and associated documentation files (the
124
+ 'Software'), to deal in the Software without restriction, including
125
+ without limitation the rights to use, copy, modify, merge, publish,
126
+ distribute, sublicense, and/or sell copies of the Software, and to
127
+ permit persons to whom the Software is furnished to do so, subject to
128
+ the following conditions:
129
+
130
+ The above copyright notice and this permission notice shall be
131
+ included in all copies or substantial portions of the Software.
132
+
133
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
134
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
135
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
136
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
137
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
138
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
139
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/Rakefile ADDED
@@ -0,0 +1,4 @@
1
+ require 'config/requirements'
2
+ require 'config/hoe' # setup Hoe + all gem configuration
3
+
4
+ Dir['tasks/**/*.rake'].each { |rake| load rake }
@@ -0,0 +1,48 @@
1
+ # -*- encoding: utf-8 -*-
2
+
3
+ Gem::Specification.new do |s|
4
+ s.name = %q{autotest-notification}
5
+ s.version = "2.1.0"
6
+
7
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
+ s.authors = ["Carlos Brando", "Rodrigo Urubatan", "Alexandre da Silva", "Carlos J\303\272nior", "Davis Zanetti Cabral", "Marcos Tapaj\303\263s", "Thiago Pradi", "Oz\303\251ias Sant'ana", "Samuel Flores", "Diego Carrion", "Ernesto Nakamura"]
9
+ s.date = %q{2009-10-01}
10
+ s.description = %q{This gem set the autotest (ZenTest) to send messages to software as Growl, LibNotify, and Snarl, displaying a window with the results.}
11
+ s.email = ["autotest-notification@carlosbrando.com"]
12
+ s.executables = ["an-install", "an-uninstall", "playsound"]
13
+ s.extra_rdoc_files = ["History.txt", "License.txt", "Manifest.txt", "PostInstall.txt", "README.txt", "website/index.txt"]
14
+ s.files = ["History.txt", "License.txt", "Manifest.txt", "PostInstall.txt", "README.txt", "Rakefile", "autotest-notification.gemspec", "bin/an-install", "bin/an-uninstall", "bin/playsound", "config/hoe.rb", "config/requirements.rb", "images/buuf/fail.png", "images/buuf/pass.png", "images/buuf/pending.png", "images/doom/doom_0.png", "images/doom/doom_1.png", "images/doom/doom_2.png", "images/doom/doom_3.png", "images/doom/doom_4.png", "images/doom/doom_5.png", "images/doom/doom_6.png", "images/fail.png", "images/pass.png", "images/pending.png", "lib/autotest_notification.rb", "lib/autotest_notification/buuf.rb", "lib/autotest_notification/cygwin.rb", "lib/autotest_notification/doom.rb", "lib/autotest_notification/linux.rb", "lib/autotest_notification/mac.rb", "lib/autotest_notification/version.rb", "lib/autotest_notification/windows.rb", "script/console", "script/destroy", "script/generate", "script/txt2html", "setup.rb", "sounds/doom/0.wav", "sounds/doom/1.wav", "sounds/doom/2.wav", "sounds/doom/3.wav", "sounds/doom/4.wav", "sounds/doom/5.wav", "sounds/doom/6.wav", "tasks/deployment.rake", "tasks/environment.rake", "tasks/website.rake", "test/autotest_notification/test_cygwin.rb", "test/autotest_notification/test_linux.rb", "test/autotest_notification/test_mac.rb", "test/autotest_notification/test_windows.rb", "test/test_autotest_notification.rb", "test/test_helper.rb", "website/index.html", "website/index.txt", "website/javascripts/rounded_corners_lite.inc.js", "website/stylesheets/screen.css", "website/template.html.erb"]
15
+ s.homepage = %q{http://github.com/carlosbrando/autotest-notification/}
16
+ s.post_install_message = %q{
17
+ For more information on autotest_notification, see http://github.com/carlosbrando/autotest-notification/
18
+
19
+ To turn on the notifier you need to run the following command:
20
+ an-install
21
+
22
+ To turn off:
23
+ an-uninstall
24
+
25
+ }
26
+ s.rdoc_options = ["--main", "README.txt"]
27
+ s.require_paths = ["lib"]
28
+ s.rubyforge_project = %q{autotest-notification}
29
+ s.rubygems_version = %q{1.3.4}
30
+ s.summary = %q{This gem set the autotest (ZenTest) to send messages to software as Growl, LibNotify, and Snarl, displaying a window with the results.}
31
+ s.test_files = ["test/autotest_notification/test_cygwin.rb", "test/autotest_notification/test_linux.rb", "test/autotest_notification/test_mac.rb", "test/autotest_notification/test_windows.rb", "test/test_autotest_notification.rb", "test/test_helper.rb"]
32
+
33
+ if s.respond_to? :specification_version then
34
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
35
+ s.specification_version = 3
36
+
37
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
38
+ s.add_runtime_dependency(%q<ZenTest>, [">= 3.9.2"])
39
+ s.add_development_dependency(%q<hoe>, [">= 2.3.3"])
40
+ else
41
+ s.add_dependency(%q<ZenTest>, [">= 3.9.2"])
42
+ s.add_dependency(%q<hoe>, [">= 2.3.3"])
43
+ end
44
+ else
45
+ s.add_dependency(%q<ZenTest>, [">= 3.9.2"])
46
+ s.add_dependency(%q<hoe>, [">= 2.3.3"])
47
+ end
48
+ end
data/bin/an-install ADDED
@@ -0,0 +1,105 @@
1
+ #!/usr/bin/env ruby
2
+ # coding: UTF-8
3
+ #
4
+ # Created on 2008-5-11.
5
+ # Copyright (c) 2008. All rights reserved.
6
+
7
+ begin
8
+ require 'rubygems'
9
+ rescue LoadError
10
+ # no rubygems to load, so we fail silently
11
+ end
12
+
13
+ require 'optparse'
14
+
15
+ # NOTE: the option -p/--path= is given as an example, and should probably be replaced in your application.
16
+
17
+ OPTIONS = {
18
+ :path => '~',
19
+ :speaking => false,
20
+ :doom => false,
21
+ :sticky => false,
22
+ :pending => false,
23
+ :buuf => false,
24
+ :sound => {
25
+ :success => nil,
26
+ :failure => nil
27
+ }
28
+ }
29
+ MANDATORY_OPTIONS = %w( )
30
+
31
+ parser = OptionParser.new do |opts|
32
+ opts.banner = <<BANNER
33
+ This application is wonderful because...
34
+
35
+ Usage: #{File.basename($0)} [options]
36
+
37
+ Options are:
38
+ BANNER
39
+ opts.separator ""
40
+
41
+ opts.on("-p", "--path=PATH", String,
42
+ "The root path for selecting files",
43
+ "Default: ~") { |path| OPTIONS[:path] = path}
44
+
45
+ opts.on("-s", "--speaking",
46
+ "If a test failed, the computer will speak.",
47
+ "For all plataforms.") { |speaking| OPTIONS[:speaking] = true }
48
+
49
+ opts.on("-d", "--doom",
50
+ "Special Doom Edition.",
51
+ "Only for Mac/Cygwin.") { |doom| OPTIONS[:doom] = true }
52
+
53
+ opts.on("-b", "--buuf",
54
+ "Special Buuf Images.",
55
+ "For all platforms") { |buuf| OPTIONS[:buuf] = true }
56
+
57
+ opts.on("--pending",
58
+ "Shows a different image when there are no errors/failures",
59
+ "but there are pending specs. Only for Mac.") { |pending| OPTIONS[:pending] = true }
60
+
61
+ opts.on("--sticky",
62
+ "Keep notification on screen in case of errros/failures or pending specs.",
63
+ "Only for Mac.") { |sticky| OPTIONS[:sticky] = true }
64
+
65
+ opts.on("--success-sound=PATH", String,
66
+ "Sound to play on success.",
67
+ "Only for Mac/Cygwin.") { |success_sound| OPTIONS[:sound][:success] = success_sound }
68
+
69
+ opts.on("--failure-sound=PATH", String,
70
+ "Sound to play on success.",
71
+ "Only for Mac/Cygwin.") { |failure_sound| OPTIONS[:sound][:failure] = failure_sound }
72
+
73
+ opts.on("-h", "--help",
74
+ "Show this help message.") { puts opts; exit }
75
+
76
+ opts.parse!(ARGV)
77
+
78
+ if MANDATORY_OPTIONS && MANDATORY_OPTIONS.find { |option| OPTIONS[option.to_sym].nil? }
79
+ puts opts; exit
80
+ end
81
+ end
82
+
83
+ path = OPTIONS[:path]
84
+
85
+ autotest_path = File.expand_path(path)
86
+
87
+ if File.exists?("#{autotest_path}/.autotest")
88
+ puts "\nYou Already have a .autotest file, renamed to .autotest.backup"
89
+ FileUtils.cp "#{autotest_path}/.autotest", "#{autotest_path}/.autotest.backup"
90
+ end
91
+
92
+ f = File.new("#{autotest_path}/.autotest", "w")
93
+ f.write "# ~.autotest\n"
94
+ f.write "require 'autotest_notification'\n"
95
+ f.write("SPEAKING = #{OPTIONS[:speaking]}\n")
96
+ f.write("DOOM_EDITION = #{OPTIONS[:doom]}\n")
97
+ f.write("BUUF = #{OPTIONS[:buuf]}\n")
98
+ f.write("PENDING = #{OPTIONS[:pending]}\n")
99
+ f.write("STICKY = #{OPTIONS[:sticky]}\n")
100
+ f.write("SUCCESS_SOUND = '#{OPTIONS[:sound][:success]}'\n")
101
+ f.write("FAILURE_SOUND = '#{OPTIONS[:sound][:failure]}'\n")
102
+ f.close
103
+
104
+ puts "\nAs from now all tests will be notified automatically."
105
+ puts "" # a blank line