forked from legendz3/Sapphire
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Marcus Bratton <[email protected]>
- Loading branch information
1 parent
b1ea308
commit f903110
Showing
4 changed files
with
19 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
PATH | ||
remote: . | ||
specs: | ||
sapphire (0.7.18) | ||
sapphire (0.7.20) | ||
Platform | ||
colorize | ||
selenium-webdriver | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
module Sapphire | ||
VERSION = "0.7.19" | ||
VERSION = "0.7.20" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,23 @@ | ||
require File.expand_path('../../includes', File.dirname(__FILE__)) | ||
|
||
TestPlan "Sapphire Regression" do | ||
require 'rubygems' | ||
require 'sapphire' | ||
include Sapphire::Sapphire | ||
|
||
Virtually do | ||
def Report(&block) | ||
$instances.each do |reporter| | ||
block.call reporter | ||
end | ||
end | ||
|
||
Parameter :test_plans_path => File.expand_path(File.dirname(__FILE__), __FILE__) | ||
if $instances.empty? | ||
$instances << ConsoleReporter.new() | ||
end | ||
|
||
Run :file => :test_plans_path + "/Regression.rb" | ||
Run :file => :test_plans_path + "/Regression.rb" | ||
Report do |x| x.BeginTesting end | ||
|
||
end | ||
load File.expand_path(File.dirname(__FILE__)) + "/Regression.rb" | ||
load File.expand_path(File.dirname(__FILE__)) + "/Regression.rb" | ||
|
||
end | ||
Report do |x| x.TestingComplete end | ||
Report do |x| x.OutputResults end |