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 CHANGED
@@ -1,3 +1,6 @@
1
+ == 1.0.1 / 2008-10-13
2
+ * rutema_upgrader - Bug: update not performed - fixed
3
+
1
4
  == 1.0.0 / 2008-10-06
2
5
  * DB schema change: title and description added to scenario table
3
6
  * footer parameter for the email reporter
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
- test_scenario=Rutema::Model::Scenario.find(:first)
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
- #Rutema::Model::UpgradeV9toV10.up
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
@@ -11,7 +11,7 @@ module Rutema
11
11
  module Version
12
12
  MAJOR=1
13
13
  MINOR=0
14
- TINY=0
14
+ TINY=1
15
15
  STRING=[ MAJOR, MINOR, TINY ].join( "." )
16
16
  end
17
17
  #The Elements module provides the namespace for the various modules adding parser functionality
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.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-06 00:00:00 +02:00
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.7.0
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