rutema 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +3 -0
- data/bin/rutema_upgrader +10 -2
- data/lib/rutema/system.rb +1 -1
- metadata +3 -3
data/History.txt
CHANGED
data/bin/rutema_upgrader
CHANGED
@@ -42,13 +42,20 @@ begin
|
|
42
42
|
end
|
43
43
|
end
|
44
44
|
if database && File.exists?(database)
|
45
|
+
logger.info("Found database file #{database}")
|
45
46
|
Rutema.connect_to_ar(database,logger,false)
|
46
|
-
|
47
|
+
begin
|
48
|
+
test_scenario=Rutema::Model::Scenario.find(:first)
|
49
|
+
rescue
|
50
|
+
logger.debug($!)
|
51
|
+
logger.fatal("Problem accessing the database: #{$!.message}")
|
52
|
+
exit 1
|
53
|
+
end
|
47
54
|
if test_scenario.respond_to?(:title) && test_scenario.respond_to?(:description)
|
48
55
|
logger.info("Schema appears updated")
|
49
56
|
else
|
50
57
|
logger.info("Updating schema")
|
51
|
-
|
58
|
+
Rutema::Model::UpgradeV9toV10.up
|
52
59
|
end
|
53
60
|
logger.info("Setting title and description values")
|
54
61
|
Rutema::Model::Scenario.find(:all).each do |sc|
|
@@ -61,6 +68,7 @@ begin
|
|
61
68
|
end
|
62
69
|
else
|
63
70
|
logger.fatal("Database '#{database}' does not exist")
|
71
|
+
exit 1
|
64
72
|
end
|
65
73
|
end
|
66
74
|
rescue Patir::ConfigurationException
|
data/lib/rutema/system.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rutema
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vassilis Rizopoulos
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-10-
|
12
|
+
date: 2008-10-13 00:00:00 +02:00
|
13
13
|
default_executable: rutemax
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -80,7 +80,7 @@ dependencies:
|
|
80
80
|
requirements:
|
81
81
|
- - ">="
|
82
82
|
- !ruby/object:Gem::Version
|
83
|
-
version: 1.
|
83
|
+
version: 1.8.0
|
84
84
|
version:
|
85
85
|
description: "== DESCRIPTION: rutema is a test execution tool with a twist. It allows you to combine test tools while it takes care of logging, reporting, archiving of results and formalizes execution of automated and manual tests. It's purpose is to make testing in heterogeneous environments easier. For more information look at http://patir.rubyforge.org/rutema == FEATURES/PROBLEMS: * Unified test execution environment for automated and manual tests * Extensible reports and notifications in various formats (email, rss, pdf, html etc.) * Web frontend and command line report generation tools for browsing the test results database (with rutemaweb) * Comprehensive history of test execution * A well defined way to create a project specific test specification format == SYNOPSIS: See http://patir.rubyforge.org/rutema/distro_test.html for an introductory example. == REQUIREMENTS: * patir (http://patir.rubyforge.org) * mailfactory (http://rubyforge.org/projects/mailfactory/) * activerecord (http://ar.rubyonrails.com/) * sqlite3 (http://rubyforge.org/projects/sqlite-ruby/) * ruport (http://rubyreports.org/) * acts_as_reportable * highline"
|
86
86
|
email: riva@braveworld.net
|