public
Description: Selenium Poetry is a DSL created to separate the test intention from the HTML selectors. HTML selector are placed in separate YAML files, while the test uses identifiers (phrases) to refer to the selectors in the YAML files.
Homepage: http://rubyforge.org/projects/selenium-poetry
Clone URL: git://github.com/viniciusteles/selenium_poetry.git
Vinicius Teles (author)
Thu Oct 02 10:23:42 -0700 2008
selenium_poetry / Rakefile
100644 25 lines (20 sloc) 0.613 kb
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
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
 
load File.dirname(__FILE__) + '/tasks/doc.rake'
 
desc 'Default: run unit tests.'
task :default => :test
 
desc 'Test the selenium_poetry plugin.'
Rake::TestTask.new(:test) do |t|
  t.libs << 'lib'
  t.pattern = 'test/**/*_test.rb'
  t.verbose = true
end
 
desc 'Generate documentation for the selenium_poetry plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = 'SeleniumPoetry'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README')
  rdoc.rdoc_files.include('lib/**/*.rb')
end