uttk 0.3.1.2 → 0.3.5.0

Sign up to get free protection for your applications and to get access to all the features.
data/NEWS CHANGED
@@ -1,4 +1,4 @@
1
- = New in 0.3, 2006-02-25:
1
+ = New in 0.3, 2006-02-26:
2
2
 
3
3
  This release is a minor which provides also some interesting improvements:
4
4
 
data/SPEC.yml CHANGED
@@ -3,7 +3,7 @@ Author: The Uttk Team.
3
3
  License: LGPL
4
4
  Revision: '$Id: /w/fey/uttk/trunk/SPEC.yml 22245 2006-02-25T11:17:46.591926Z pouillar $'
5
5
 
6
- version: !feydakins.org,2006/version dev-util/uttk-0.3_alpha2#kid
6
+ version: !feydakins.org,2006/version dev-util/uttk-0.3#KID
7
7
 
8
8
  title: Uttk -- An extensible framework for dynamic testing.
9
9
  summary: Uttk is an extensible framework for dynamic testing.
@@ -23,6 +23,7 @@ root_test_suite: test/uttk-distcheck.yml
23
23
  rdoc_dir: doc/html
24
24
  tags_url: svn://svn.feydakins.org/uttk/tags
25
25
  trunk_url: svn://svn.feydakins.org/uttk/trunk
26
+ version_path: !path lib/uttk/version.rb
26
27
 
27
28
  rdoc_tail_files: !filelist
28
29
  - lib/uttk/dumpers/Dumper.rb
@@ -50,8 +51,8 @@ pkg_files: !filelist
50
51
 
51
52
  dependencies:
52
53
  ruby_ex:
53
- gem : ~> 0.4.1 # FIXME 0.4_alpha XY ...
54
- tarball: 8837/ruby_ex-0.4_alpha3.tar.gz
54
+ gem : ~> 0.4.5 # FIXME 0.4_alpha XY ...
55
+ tarball: 8879/ruby_ex-0.4.tar.gz
55
56
  vcs : svn://svn.feydakins.org/ruby_ex/trunk
56
57
  actionpack: [~> 1.11.2, 7645/actionpack-1.11.2.tgz]
57
58
 
data/VERSION CHANGED
@@ -1,4 +1,4 @@
1
- Uttk version <%= v = Uttk::VERSION; v.major_minor %> { <%= v.tag.pp %> } [<%= v.release_name %>]
1
+ Uttk version <%= v = Uttk::Version; v.major_minor %> { <%= v.tag.pretty_string %> } [<%= v.release_name %>]
2
2
 
3
3
  Copyright (c) 2004, 2005, 2006 Nicolas Despr�s, Nicolas Pouillard
4
4
  This is free software; see the source for copying conditions. There is NO
@@ -1,7 +1,7 @@
1
1
  # Author:: The Uttk Team.
2
2
  # Copyright:: Copyright (c) 2004 Uttk team. All rights reserved.
3
3
  # License:: LGPL
4
- # $Id: /w/fey/uttk/trunk/bin/getopts/uttk.rb 22244 2006-02-25T10:48:53.146614Z pouillar $
4
+ # $Id: /w/fey/uttk/trunk/bin/getopts/uttk.rb 22258 2006-02-26T14:40:04.490324Z pouillar $
5
5
 
6
6
  require 'optparse'
7
7
  Hierarchy.import!
@@ -330,12 +330,12 @@ module Uttk
330
330
  end
331
331
 
332
332
  optparser.on_tail('--authors', 'Display the AUTHORS file') do
333
- puts ::Uttk::AUTHORS_PATH.read
333
+ puts((::Uttk::DIR + 'AUTHORS').read)
334
334
  exit 0
335
335
  end
336
336
 
337
337
  optparser.on_tail('--version', 'Show version') do
338
- puts ::Uttk::VERSION_TEXT
338
+ puts ::Uttk::Version.text
339
339
  exit 0
340
340
  end
341
341
 
data/bin/uttk CHANGED
@@ -2,7 +2,7 @@
2
2
  # Author:: The Uttk Team.
3
3
  # Copyright:: Copyright (c) 2004, 2005 Uttk team. All rights reserved.
4
4
  # License:: LGPL
5
- # $Id: /w/fey/uttk/trunk/bin/uttk 22095 2006-02-21T17:17:56.386215Z pouillar $
5
+ # $Id: /w/fey/uttk/trunk/bin/uttk 22258 2006-02-26T14:40:04.490324Z pouillar $
6
6
 
7
7
  begin
8
8
  require 'pathname'
@@ -15,17 +15,11 @@ begin
15
15
  $VERBOSE = true # you can use 'export RUBYOPT="-w"' too
16
16
 
17
17
  Uttk_BIN = true
18
-
18
+
19
19
  require Pathname.new(__FILE__).dirname.parent + 'lib/uttk' unless defined? Uttk
20
20
 
21
21
  module Uttk
22
- SPEC_YML = ME_DIR.parent + 'SPEC.yml'
23
- SPEC = YAML::load(SPEC_YML.read)
24
- VERSION = SPEC['version']
25
- VERSION_PATH = ME_DIR.parent + 'VERSION'
26
- AUTHORS_PATH = ME_DIR.parent + 'AUTHORS'
27
- require 'erb'
28
- VERSION_TEXT = ERB.new(VERSION_PATH.read, nil, '<%>').result(binding)
22
+ DIR = ME_DIR.parent
29
23
  end
30
24
 
31
25
  require "#{ME_DIR}/getopts/uttk"
@@ -1,7 +1,7 @@
1
1
  # Author:: The Uttk team
2
2
  # Copyright:: Copyright (c) 2004, 2005 Uttk team. All rights reserved.
3
3
  # License:: LGPL
4
- # $Id: /w/fey/uttk/trunk/lib/uttk.rb 22081 2006-02-21T15:10:48.580983Z pouillar $
4
+ # $Id: /w/fey/uttk/trunk/lib/uttk.rb 22258 2006-02-26T14:40:04.490324Z pouillar $
5
5
 
6
6
  #
7
7
  # = Description
@@ -68,7 +68,7 @@ module Uttk
68
68
  HashEval.import!
69
69
  RPath.import!
70
70
  Commands.import!
71
- Version.import!
71
+ ::Version.import!
72
72
  URI::GenericEx.import!
73
73
 
74
74
  # Mother exception of every exception thrown by Uttk.
@@ -0,0 +1,16 @@
1
+ # Author:: Nicolas Pouillard <nicolas.pouillard@gmail.com>.
2
+ # Copyright:: Copyright (c) 2006 Uttk Team. All rights reserved.
3
+ # License:: LGPL
4
+ # $Id: /w/fey/uttk/trunk/lib/uttk/filters.rb 22057 2006-02-20T21:40:27.185401Z pouillar $
5
+
6
+
7
+ module Uttk
8
+
9
+ Version = ::Version.parse("dev-util/uttk-0.3#KID")
10
+
11
+ def Version.text
12
+ require 'erb'
13
+ ERB.new((Uttk::DIR / 'VERSION').read, nil, '<%>').result(binding)
14
+ end
15
+
16
+ end # module Uttk
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.8.11
3
3
  specification_version: 1
4
4
  name: uttk
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.3.1.2
7
- date: 2006-02-25 00:00:00 +01:00
6
+ version: 0.3.5.0
7
+ date: 2006-02-26 00:00:00 +01:00
8
8
  summary: Uttk is an extensible framework for dynamic testing.
9
9
  require_paths:
10
10
  - lib
@@ -47,6 +47,7 @@ files:
47
47
  - lib/uttk/filters.rb
48
48
  - lib/uttk/streams.rb
49
49
  - lib/uttk/status.rb
50
+ - lib/uttk/version.rb
50
51
  - lib/uttk/weights.rb
51
52
  - lib/uttk/path_filters/RemoveTypes.rb
52
53
  - lib/uttk/path_filters/ColorStatus.rb
@@ -355,7 +356,6 @@ files:
355
356
  - NEWS
356
357
  - NORM
357
358
  - TODO
358
- - SPEC.gemspec
359
359
  - Rakefile
360
360
  - TODO.old
361
361
  - README
@@ -386,7 +386,7 @@ dependencies:
386
386
  requirements:
387
387
  - - ~>
388
388
  - !ruby/object:Gem::Version
389
- version: 0.4.1
389
+ version: 0.4.5
390
390
  version:
391
391
  - !ruby/object:Gem::Dependency
392
392
  name: actionpack
@@ -1,15 +0,0 @@
1
- Gem::Specification.new do |s|
2
- s.name = %q{uttk}
3
- s.version = "0.3.1.2"
4
- s.date = %q{2006-02-25}
5
- s.summary = %q{Uttk is an extensible framework for dynamic testing.}
6
- s.email = ["cuissa_v@epita.fr", "nicolas.despres@gmail.com", "ertai@feydakins.org", "pouill_j@epita.fr", "marco.tessari@gmail.com"]
7
- s.homepage = %q{http://rubyforge.org/projects/uttk}
8
- s.rubyforge_project = %q{uttk}
9
- s.description = %q{Uttk is designed to help you while you are writing dynamic tests for your projects. It keeps track of your test strategies by means of a solid dynamic hierarchy of test strategy classes. The only way to be 100% generic is to be extensible, after all. Network distribution strategies can also be written since Uttk provides cluster features. Uttk understands YAML and Ruby as input languages and speaks YAML, XML and HTML as output languages.}
10
- s.authors = ["Vincent Cuissard", "Nicolas Despr\350s", "Nicolas Pouillard", "Jerome Pouiller", "Marco Tessari"]
11
- s.files = ["bin/uttk", "bin/getopts", "bin/uttk-unit", "bin/getopts/uttk.rb", "lib/uttk.rb", "lib/uttk/logger_factory.rb", "lib/uttk/logger.rb", "lib/uttk/filters.rb", "lib/uttk/streams.rb", "lib/uttk/status.rb", "lib/uttk/weights.rb", "lib/uttk/path_filters/RemoveTypes.rb", "lib/uttk/path_filters/ColorStatus.rb", "lib/uttk/path_filters/PathFilter.rb", "lib/uttk/dumpers/Dumper.rb", "lib/uttk/dumpers/Path.rb", "lib/uttk/dumpers/BasicColor.rb", "lib/uttk/dumpers/Html.rb", "lib/uttk/dumpers/Xml.rb", "lib/uttk/dumpers/Yaml.rb", "lib/uttk/dumpers/Basic.rb", "lib/uttk/strategies/Iterate.rb", "lib/uttk/strategies/Cmd.rb", "lib/uttk/strategies/KillAll.rb", "lib/uttk/strategies/Checkout.rb", "lib/uttk/strategies/Pass.rb", "lib/uttk/strategies/Abort.rb", "lib/uttk/strategies/Block.rb", "lib/uttk/strategies/Compile.rb", "lib/uttk/strategies/RMatch.rb", "lib/uttk/strategies/Sleep.rb", "lib/uttk/strategies/Strategy.rb", "lib/uttk/strategies/Pool.rb", "lib/uttk/strategies/IOBased.rb", "lib/uttk/strategies/Authors.rb", "lib/uttk/strategies/RUnit.rb", "lib/uttk/strategies/Import.rb", "lib/uttk/strategies/Composite.rb", "lib/uttk/strategies/Proxy.rb", "lib/uttk/strategies/SubCmd.rb", "lib/uttk/strategies/SqlQuery.rb", "lib/uttk/strategies/JUnit.rb", "lib/uttk/strategies/Clean.rb", "lib/uttk/strategies/Fail.rb", "lib/uttk/strategies/Make.rb", "lib/uttk/strategies/Suite.rb", "lib/uttk/strategies/SignalCmd.rb", "lib/uttk/strategies/Package.rb", "lib/uttk/strategies/Test.rb", "lib/uttk/strategies/ProbabilityThreshold.rb", "lib/uttk/strategies/Stub.rb", "lib/uttk/strategies/Configure.rb", "lib/uttk/strategies/PackageCollection.rb", "lib/uttk/strategies/Collection.rb", "lib/uttk/strategies/CmdBase.rb", "lib/uttk/strategies/Error.rb", "lib/uttk/strategies/Bootstrap.rb", "lib/uttk/strategies/Assert.rb", "lib/uttk/strategies/Composite/contents_eval.rb", "lib/uttk/loaders/Loader.rb", "lib/uttk/loaders/Yaml.rb", "lib/uttk/loaders/Ruby.rb", "lib/uttk/filters/Compact.rb", "lib/uttk/filters/JustStatus.rb", "lib/uttk/filters/Id.rb", "lib/uttk/filters/TextFilter.rb", "lib/uttk/filters/DefaultColor.rb", "lib/uttk/filters/NodeCut.rb", "lib/uttk/filters/Default.rb", "lib/uttk/filters/RPathFilter.rb", "lib/uttk/filters/Buffer.rb", "lib/uttk/filters/Filter.rb", "lib/uttk/filters/KeepSkipBased.rb", "lib/uttk/filters/Saver.rb", "lib/uttk/streams/Diff.rb", "lib/uttk/streams/Stream.rb", "lib/uttk/streams/HexaDiff.rb", "lib/uttk/logger/severity.rb", "lib/uttk/logger/section_node.rb", "lib/uttk/logger/backend.rb", "lib/uttk/logger/verbosity.rb", "lib/uttk/logger/path.rb", "lib/uttk/logger/to_uttk_log.rb", "lib/uttk/generators/path_filter_generator.rb", "lib/uttk/generators/loader_generator.rb", "lib/uttk/generators/generator.rb", "lib/uttk/generators/dumper_generator.rb", "lib/uttk/generators/generator_generator.rb", "lib/uttk/generators/filter_generator.rb", "lib/uttk/generators/strategy_generator.rb", "lib/uttk/generators/templates/filter.rb", "lib/uttk/generators/templates/generator.rb", "lib/uttk/generators/templates/loader.rb", "lib/uttk/generators/templates/dumper.rb", "lib/uttk/generators/templates/unit_test.rb", "lib/uttk/generators/templates/path_filter.rb", "lib/uttk/generators/templates/strategy.rb", "lib/uttk/weights/WExpr.rb", "lib/uttk/weights/WFloat.rb", "lib/uttk/weights/Weight.rb", "lib/uttk/weights/WMin.rb", "lib/uttk/generators/templates/strategy.yml", "lib/www/javascripts/uttk.js", "test/pkg", "test/pool", "test/ruby", "test/unit", "test/unit-suite.yml", "test/examples-suite.yml", "test/functional-suite.yml", "test/uttk-distcheck.yml", "test/functional", "test/ruby-suite.yml", "test/fixtures", "test/pool-suite.yml", "test/examples", "test/ruby-suite.rb", "test/uttk-check.yml", "test/pkg-suite.yml", "test/pkg/cmdline.yml", "test/pool/pool.yml", "test/pool/base.yml", "test/ruby/iterate.rb", "test/ruby/wc.rb", "test/ruby/base.rb", "test/unit/logger_test.rb", "test/unit/filters_test.rb", "test/unit/dumpers", "test/unit/strategies", "test/unit/loaders", "test/unit/filters", "test/unit/logger", "test/unit/dumpers/path_test.rb", "test/unit/dumpers/xml_test.rb", "test/unit/dumpers/yaml_test.rb", "test/unit/strategies/suite_test.rb", "test/unit/filters/node_cut_test.rb", "test/unit/filters/rpath_filter_test.rb", "test/unit/filters/buffer_test.rb", "test/unit/filters/keep_skip_based_test.rb", "test/unit/filters/text_filter_test.rb", "test/unit/logger/to_uttk_log_test.rb", "test/unit/logger/section_node_test.rb", "test/unit/logger/severity_test.rb", "test/unit/logger/verbosity_test.rb", "test/functional/diff.yml", "test/functional/rmatch.yml", "test/functional/probability_threshold.yml", "test/functional/test.yml", "test/functional/fatal.yml", "test/functional/hexa-diff.yml", "test/functional/killall.yml", "test/functional/glob.yml", "test/functional/env_cmd.yml", "test/functional/sub.yml", "test/functional/timeout.yml", "test/functional/author.yml", "test/functional/r_unit.yml", "test/functional/import.yml", "test/functional/iterate.yml", "test/functional/base_pool.yml", "test/functional/wc.yml", "test/functional/signal_cmd.yml", "test/functional/cat.yml", "test/functional/pkg.yml", "test/functional/base.yml", "test/functional/exit.yml", "test/functional/weight.yml", "test/functional/block.yml", "test/functional/cmd.yml", "test/fixtures/binaries", "test/fixtures/ball", "test/fixtures/demo", "test/fixtures/java", "test/fixtures/text", "test/fixtures/unit", "test/fixtures/mini-lib", "test/fixtures/package", "test/fixtures/binaries/segv", "test/fixtures/binaries/segv.rb", "test/fixtures/binaries/segv.c", "test/fixtures/ball/joe-exit.tar.bz2", "test/fixtures/ball/Makefile", "test/fixtures/ball/qux_j-mini-lib", "test/fixtures/ball/joe_i-mini-lib.tar.bz2", "test/fixtures/ball/hello", "test/fixtures/ball/bar_p-mini-lib", "test/fixtures/ball/hello.tar.bz2", "test/fixtures/ball/jack-exit", "test/fixtures/ball/jack-exit.tar.bz2", "test/fixtures/ball/john-exit", "test/fixtures/ball/joe-exit", "test/fixtures/ball/qux_j-mini-lib.tar.bz2", "test/fixtures/ball/foo_s-mini-lib.tar.bz2", "test/fixtures/ball/foo_s-mini-lib", "test/fixtures/ball/hello.tar.gz", "test/fixtures/ball/joe_i-mini-lib", "test/fixtures/ball/john-exit.tar.bz2", "test/fixtures/ball/20040804-exam_a1-zapngo-tessar_m.tar.gz", "test/fixtures/ball/bar_p-mini-lib.tar.bz2", "test/fixtures/ball/qux_j-mini-lib/Makefile", "test/fixtures/ball/qux_j-mini-lib/my_strlen.c", "test/fixtures/ball/hello/Makefile", "test/fixtures/ball/hello/hello.c", "test/fixtures/ball/bar_p-mini-lib/Makefile", "test/fixtures/ball/bar_p-mini-lib/my_strlen.c", "test/fixtures/ball/jack-exit/Makefile", "test/fixtures/ball/jack-exit/exit.c", "test/fixtures/ball/john-exit/Makefile", "test/fixtures/ball/john-exit/exit.c", "test/fixtures/ball/joe-exit/Makefile", "test/fixtures/ball/joe-exit/exit.c", "test/fixtures/ball/foo_s-mini-lib/Makefile", "test/fixtures/ball/foo_s-mini-lib/configure", "test/fixtures/ball/foo_s-mini-lib/my_strlen.c", "test/fixtures/ball/joe_i-mini-lib/Makefile", "test/fixtures/ball/joe_i-mini-lib/configure", "test/fixtures/ball/joe_i-mini-lib/my_strlen.c", "test/fixtures/demo/filter-tutorial", "test/fixtures/demo/command-tutorial", "test/fixtures/demo/filter-tutorial/pluralizer.rb", "test/fixtures/demo/filter-tutorial/filters", "test/fixtures/demo/filter-tutorial/check.yml", "test/fixtures/demo/filter-tutorial/filters/CutSkip100.rb", "test/fixtures/demo/command-tutorial/steps", "test/fixtures/demo/command-tutorial/steps/1", "test/fixtures/demo/command-tutorial/steps/2", "test/fixtures/demo/command-tutorial/steps/3", "test/fixtures/demo/command-tutorial/steps/4", "test/fixtures/demo/command-tutorial/steps/5", "test/fixtures/demo/command-tutorial/steps/6", "test/fixtures/demo/command-tutorial/steps/7", "test/fixtures/demo/command-tutorial/steps/3.1", "test/fixtures/demo/command-tutorial/steps/4.1", "test/fixtures/demo/command-tutorial/steps/5.1", "test/fixtures/demo/command-tutorial/steps/6.1", "test/fixtures/demo/command-tutorial/steps/1/pluralizer.rb", "test/fixtures/demo/command-tutorial/steps/1/check.yml", "test/fixtures/demo/command-tutorial/steps/2/bad_check.yml", "test/fixtures/demo/command-tutorial/steps/2/pluralizer.rb", "test/fixtures/demo/command-tutorial/steps/2/check.yml", "test/fixtures/demo/command-tutorial/steps/3/check.yml", "test/fixtures/demo/command-tutorial/steps/4/pluralizer.rb", "test/fixtures/demo/command-tutorial/steps/4/check.yml", "test/fixtures/demo/command-tutorial/steps/5/bird.txt", "test/fixtures/demo/command-tutorial/steps/5/pluralizer.rb", "test/fixtures/demo/command-tutorial/steps/5/check.yml", "test/fixtures/demo/command-tutorial/steps/6/bird.txt", "test/fixtures/demo/command-tutorial/steps/6/pluralizer.rb", "test/fixtures/demo/command-tutorial/steps/6/check.yml", "test/fixtures/demo/command-tutorial/steps/7/bird.txt", "test/fixtures/demo/command-tutorial/steps/7/pluralizer.rb", "test/fixtures/demo/command-tutorial/steps/7/check.yml", "test/fixtures/demo/command-tutorial/steps/3.1/check.yml", "test/fixtures/demo/command-tutorial/steps/4.1/bird.txt", "test/fixtures/demo/command-tutorial/steps/4.1/check.yml", "test/fixtures/demo/command-tutorial/steps/5.1/bird.txt", "test/fixtures/demo/command-tutorial/steps/5.1/pluralizer.rb", "test/fixtures/demo/command-tutorial/steps/5.1/check.yml", "test/fixtures/demo/command-tutorial/steps/6.1/bird.txt", "test/fixtures/demo/command-tutorial/steps/6.1/pluralizer.rb", "test/fixtures/demo/command-tutorial/steps/6.1/check.yml", "test/fixtures/java/unit", "test/fixtures/java/unit/multifoo.yml", "test/fixtures/java/unit/MultiRight", "test/fixtures/java/unit/simple_exception.yml", "test/fixtures/java/unit/multibar.yml", "test/fixtures/java/unit/SimpleException", "test/fixtures/java/unit/multiright.yml", "test/fixtures/java/unit/build.sh", "test/fixtures/java/unit/MultiRight/Foo", "test/fixtures/java/unit/MultiRight/bar", "test/fixtures/java/unit/MultiRight/MultiRightTest.java", "test/fixtures/java/unit/MultiRight/build.sh", "test/fixtures/java/unit/MultiRight/MultiRight.java", "test/fixtures/java/unit/MultiRight/Foo/FooTest.java", "test/fixtures/java/unit/MultiRight/Foo/Foo.java", "test/fixtures/java/unit/MultiRight/bar/BarTest.java", "test/fixtures/java/unit/MultiRight/bar/Bar.java", "test/fixtures/java/unit/SimpleException/SimpleExceptionTest.java", "test/fixtures/java/unit/SimpleException/build.sh", "test/fixtures/text/1.txt", "test/fixtures/unit/error.rb", "test/fixtures/unit/bad.rb", "test/fixtures/unit/good.rb", "test/fixtures/mini-lib/Makefile", "test/fixtures/mini-lib/strlen.c", "test/fixtures/package/pkg_foo.tar.gz", "test/fixtures/package/pkg_foo", "test/fixtures/package/pkg_foo/Makefile", "test/fixtures/package/pkg_foo/configure", "test/fixtures/package/pkg_foo/foo.sh", "test/fixtures/package/pkg_foo/bootstrap", "test/examples/sql", "test/examples/basic.yml", "test/examples/cache", "test/examples/README", "test/examples/students-suite.yml", "test/examples/basic.rb", "test/examples/students", "test/examples/sql/basic.yml", "test/examples/cache/cache_and_fatal.yml", "test/examples/cache/simple.yml", "test/examples/students/mini-lib.yml", "test/examples/students/pool_stud.yml", "test/examples/students/glob_stud.yml", "test/examples/students/ball.yml", "test/examples/students/stud.yml", "misc/renaming", "misc/header.rb", "misc/expandtab.rb", "misc/uttk-grep.sh", "misc/textile_compiler", "misc/uttk-line-count.rb", "LGPL", "NEWS", "NORM", "TODO", "SPEC.gemspec", "Rakefile", "TODO.old", "README", "VERSION", "GUIDELINES", "AUTHORS", "SPEC.yml", "ChangeLog", "COPYING"]
12
- s.executables = ["uttk", "uttk-unit"]
13
- s.add_dependency(%q<ruby_ex>, ["~> 0.4.1"])
14
- s.add_dependency(%q<actionpack>, ["~> 1.11.2"])
15
- end