Fetching contributors…
Cannot retrieve contributors at this time
62 lines (54 sloc) 2.13 KB
$__firewatir_source_patterns = [
spec = do |s|
version = File.exist?('VERSION') ?'VERSION').strip : "0.0.0" = 'firewatir'
s.version = version
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 = 'Angrez Singh'
s.homepage = '' = ''
s.rubyforge_project = 'Watir'
s.requirements << 'Mozilla Firefox browser 1.5 or later.'
s.require_path = 'lib'
s.add_dependency 'commonwatir', '= ' + version
s.add_dependency 'json_pure'
s.add_dependency 'character-encodings'
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' <<
'--main' << 'README.rdoc'
s.extra_rdoc_files = 'README.rdoc'
# s.test_file = 'unittests/mozilla_all_tests.rb'
s.files = $__firewatir_source_patterns.inject([]) { |list, glob|
list << Dir[glob].delete_if { |path| or