This repository has been archived by the owner on Jun 6, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 79
/
firewatir.gemspec
50 lines (42 loc) · 2 KB
/
firewatir.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
$__firewatir_source_patterns = [
'lib/container.rb', 'lib/firewatir.rb', 'lib/htmlelements.rb',
'lib/MozillaBaseElement.rb','lib/firewatir/*.rb','unittests/*.rb',
'unittests/html/*.html', 'unittests/html/images/*.*'
]
$LOAD_PATH.unshift File.dirname(__FILE__)
require 'firewatir'
spec = Gem::Specification.new do |s|
s.name = 'firewatir'
s.version = "1.6.0"
s.summary = 'Automated testing tool for web applications using Firefox browser.'
s.description = <<-EOF
FireWatir stands for "Web Application Testing in Ruby for Firefox". FireWatir (pronounced firewater) is a free,
open-source functional testing tool for automating browser-based tests of web applications.
It works with applications written in any language.
FireWatir drives the Firefox browser the same way an end user would.
It clicks links, fills in forms, presses buttons.
FireWatir also checks results, such as whether expected text appears on the page, or whether a control is enabled.
FireWatir is a Ruby library that works with Firefox on Windows. It also works on Linux, Mac but without support for
JavaScript popups (currently support will be there shortly).
EOF
s.author = 'Angrez Singh'
s.homepage = 'http://wtr.rubyforge.org'
s.email = 'watir-general@googlegroups.com'
s.rubyforge_project = 'Watir'
s.requirements << 'Mozilla Firefox browser 1.5 or later.'
s.require_path = 'lib'
s.add_dependency 'watir-common'
s.add_dependency 'activesupport'
s.has_rdoc = true
s.rdoc_options <<
'--title' << 'FireWatir API Reference' <<
'--accessor' << 'def_wrap=R,def_wrap_guard=R,def_creator=R,def_creator_with_default=R' <<
'--exclude' << 'unittests|camel_case.rb|testUnitAddons.rb'
s.test_file = 'unittests/mozilla_all_tests.rb'
s.files = $__firewatir_source_patterns.inject([]) { |list, glob|
list << Dir[glob].delete_if { |path|
File.directory?(path) or
path.include?('CVS')
}
}.flatten
end