rutema 0.6.2 → 0.6.3

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ == 0.6.3 / 2008-03-26
2
+ * Bugfix: specifying a .spec filename on the commandline did not work - Path expanded before changing directory.
3
+ * Bugfix: running an attended .spec on it's own was not possible - attended mode is now set for single runs.
4
+ * Cleaned up the Runner's log output
1
5
  == 0.6.2 / 2008-03-12
2
6
  * Parsers derived from Rutema::SpecificationParser now receive the system configuration so that conventions like tools, paths and context can be used in element_ methods (this functionality fell through the cracks with the change in parser implementation)
3
7
  * rutemaweb now has proper commandline help and connects properly to the database
data/README.txt CHANGED
@@ -1,7 +1,7 @@
1
1
  rutema http://patir.rubyforge.org/rutema
2
2
 
3
3
  == DESCRIPTION:
4
- rutema is a test execution too with a twist.
4
+ rutema is a test execution tool with a twist.
5
5
  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.
6
6
  It's purpose is to provide a set of classes and a framework that will allow testers to specify and execute tests in heterogeneous testing environments.
7
7
 
data/lib/rutema/system.rb CHANGED
@@ -16,7 +16,7 @@ module Rutema
16
16
  module Version
17
17
  MAJOR=0
18
18
  MINOR=6
19
- TINY=2
19
+ TINY=3
20
20
  STRING=[ MAJOR, MINOR, TINY ].join( "." )
21
21
  end
22
22
  #Is raised when an error is found in a specification
@@ -256,6 +256,7 @@ module Rutema
256
256
  @logger.debug(specs)
257
257
  run_scenarios(specs.select{|s| s.scenario && !s.scenario.attended?})
258
258
  when String
259
+ @runner.attended=true
259
260
  spec=parse_specification(mode)
260
261
  @logger.debug("Running #{spec}")
261
262
  run_test(spec) if spec
@@ -486,11 +487,11 @@ module Rutema
486
487
  return state
487
488
  end
488
489
  def run_step step
489
- @logger.info(step.to_s)
490
+ @logger.debug("#{step.number} - #{step.step_type}")
490
491
  if step.has_cmd? && step.cmd.respond_to?(:run)
491
492
  step.cmd.run
492
493
  else
493
- @logger.warn("No command associated with step '#{step.step_type}'")
494
+ @logger.warn("No command associated with step '#{step.step_type}'. Step number is #{step.number}")
494
495
  end
495
496
  msg=step.to_s
496
497
  p step if $DEBUG
@@ -575,7 +576,7 @@ module Rutema
575
576
  @mode=:unattended
576
577
  else
577
578
  if File.exists?(command)
578
- @mode=command
579
+ @mode=File.expand_path(command)
579
580
  else
580
581
  $stderr.puts "Can't find '#{command}' and it does not match any known commands. Don't know what to do with it."
581
582
  exit 1
data/test/rutema.spec CHANGED
@@ -4,6 +4,7 @@
4
4
  <scenario>
5
5
  <command cmd="rutemax -c distro_test/config/minimal.rutema"/>
6
6
  <command cmd="rutemax -c distro_test/config/database.rutema"/>
7
+ <command cmd="rutemax -c distro_test/config/database.rutema distro_test/specs/T001.spec"/>
7
8
  <command cmd="rutemah -c distro_test/config/database.rutemah all"/>
8
9
  </scenario>
9
10
  </specification>
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: 0.6.2
4
+ version: 0.6.3
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-03-12 00:00:00 +01:00
12
+ date: 2008-03-26 00:00:00 +01:00
13
13
  default_executable: rutemax
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -93,7 +93,7 @@ dependencies:
93
93
  - !ruby/object:Gem::Version
94
94
  version: 1.5.1
95
95
  version:
96
- description: "== DESCRIPTION: rutema is a test execution too 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 provide a set of classes and a framework that will allow testers to specify and execute tests in heterogeneous testing environments. 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 * 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/) * ramaze (http://www.ramaze.net/) * ruport (http://rubyreports.org/) * acts_as_reportable == INSTALL: * gem install rutema"
96
+ 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 provide a set of classes and a framework that will allow testers to specify and execute tests in heterogeneous testing environments. 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 * 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/) * ramaze (http://www.ramaze.net/) * ruport (http://rubyreports.org/) * acts_as_reportable == INSTALL: * gem install rutema"
97
97
  email: riva@braveworld.net
98
98
  executables:
99
99
  - rutemax