Changelog for
ruby1.8-rubygem-test-unit-testsuite-3.2.9-57.1.x86_64.rpm :
Sat Dec 8 13:00:00 2018 cooloAATTsuse.com
- updated to version 3.2.9
see installed news.md
[#]# 3.2.9 - 2018-12-01 {#version-3-2-9}
[#]## Improvements
* Added support for data generation by method. `data_#{test_name}`
is called to generate data for `test_name` test.
* Added support for data matrix generation.
Example:
```ruby
data(:a, [0, 1, 2])
data(:b, [:x, :y])
def test_data(data)
end
```
This example generates the following data matrix:
* label: `\"a: 0, b: :x\"`, data: `{a: 0, b: :x}`
* label: `\"a: 0, b: :y\"`, data: `{a: 0, b: :y}`
* label: `\"a: 1, b: :x\"`, data: `{a: 1, b: :x}`
* label: `\"a: 1, b: :y\"`, data: `{a: 1, b: :y}`
* label: `\"a: 2, b: :x\"`, data: `{a: 2, b: :x}`
* label: `\"a: 2, b: :y\"`, data: `{a: 2, b: :y}`
* Added `Test::Unit::TestCase#data` that returns the current data.
* Added support for using test method that doesn\'t have no
parameters as data driven test.
Example:
```ruby
data(\"label\", :value)
def test_data # Available since this release
p data # :value
end
```
* Added support for `:keep` option to `Test::Unit::TestCase.data`.
* Added support for `:group` option to
`Test::Unit::TestCase.data`. It\'s useful to generate multiple data
matrix groups.
```ruby
[#] Group1
data(:a, [0, 1, 2], group: :g1)
data(:b, [:x, :y], group: :g1)
[#] Group2
data(:a, [:x, :y], group: :g2)
data(:c, [-1, -2], group: :g2)
def test_data(data)
end
```
This example generates the following data matrix:
* label: `\"group: :g1, a: 0, b: :x\"`, data: `{a: 0, b: :x}`
* label: `\"group: :g1, a: 0, b: :y\"`, data: `{a: 0, b: :y}`
* label: `\"group: :g1, a: 1, b: :x\"`, data: `{a: 1, b: :x}`
* label: `\"group: :g1, a: 1, b: :y\"`, data: `{a: 1, b: :y}`
* label: `\"group: :g1, a: 2, b: :x\"`, data: `{a: 2, b: :x}`
* label: `\"group: :g1, a: 2, b: :y\"`, data: `{a: 2, b: :y}`
* label: `\"group: :g2, a: :x, b: -1\"`, data: `{a: :x, b: -1}`
* label: `\"group: :g2, a: :x, b: -2\"`, data: `{a: :x, b: -2}`
* label: `\"group: :g2, a: :y, b: -1\"`, data: `{a: :y, b: -1}`
* label: `\"group: :g2, a: :y, b: -2\"`, data: `{a: :y, b: -2}`
Wed May 16 14:00:00 2018 factory-autoAATTkulow.org
- updated to version 3.2.8
see installed news.md
[#]# 3.2.8 - 2018-05-13 {#version-3-2-8}
[#]## Improvements
* [UI][console]: Changed to put code snippet before backtrace on
reverse mode.
Tue Dec 19 13:00:00 2017 bgeukenAATTsuse.com
- Update to 3.2.7
No changelog found
Thu Sep 21 14:00:00 2017 cooloAATTsuse.com
- updated to version 3.2.6
see installed news.md
[#]# 3.2.6 - 2017-09-21 {#version-3-2-6}
[#]## Improvements
* Changed test file require failure to error from omission.
[GitHub#154][Patch by naofumi-fujii]
[#]## Thanks
* naofumi-fujii
Wed Jul 26 14:00:00 2017 mschnitzerAATTsuse.com
- updated to version 3.2.5
* Supported `--enable-frozen-string-literal` `ruby` option.
[GitHub#149][Reported by Pat Allan]
Tue May 23 14:00:00 2017 cooloAATTsuse.com
- updated to version 3.2.4
see installed news.md
[#]# 3.2.4 - 2017-05-23 {#version-3-2-4}
[#]## Improvements
* Updated tests for Ruby 2.4. [GitHUb#136][Patch by Kazuki Tsujimoto]
* Supported power\\_assert 1.0.0. [GitHub#137][Patch by Kazuki Tsujimoto]
* Added the getting started document.
[GitHub#139][GitHub#141][Patch by Hiroyuki Sato]
* Added the document for `attribute`.
[GitHub#143][Patch by Fumiaki MATSUSHIMA]
* Improved a link for GitHub. [GitHub#144][Patch by rochefort]
* Updated `.travis.yml`. [GitHub#145][Patch by Jun Aruga]
[#]## Fixes
* Fixed a contributor name. [GitHub#131][Patch by Akira Matsuda]
* Fixed typos in document. [GitHub#132][Patch by Akira Matsuda]
* Fixed typos in document. [GitHub#134][Patch by Yuji Yaginuma]
* Fixed a bug that data label with \"(\" isn\'t supported.
[GitHub#135][Reported by Kazuki Tsujimoto]
* Fixed assertion message in English.
[GitHub#133][Reported by Khalil Fazal]
* Fixed a typo in typo fix. [GitHub#138][Patch by kami]
* Fixed a bug that target location finder may return wrong
location. [GitHub#146][Patch by Yuki Ito]
* Fixed a bug that `--no-show-detail-immediately` raises an error.
[GitHub#147][Reported by MSP-Greg]
[#]## Thanks
* Akira Matsuda
* Yuji Yaginuma
* Kazuki Tsujimoto
* Khalil Fazal
* kami
* Hiroyuki Sato
* Fumiaki MATSUSHIMA
* rochefort
* Jun Aruga
* Yuki Ito
* MSP-Greg
Sat Nov 26 13:00:00 2016 cooloAATTsuse.com
- updated to version 3.2.3
see installed news.md
Wed Nov 2 13:00:00 2016 cooloAATTsuse.com
- updated to version 3.2.2
see installed news.md
[#]# 3.2.3 - 2016-11-02 {#version-3-2-2}
[#]## Improvements
* Improved Travis CI configuration.
[GitHub#123][Patch by Ryunosuke SEATO]
* Supported Java native exception.
[GitHub#126][Reported by Bob Saveland]
[#]## Fixes
* doc: Fixed markup. [GitHub#127][Patch by Tomohiro Hashidate]
* Fixed a bug that `--location=LINE` may not detect a test when
fixtures are defined before any tests:
1 class MyTestCase < Test::Unit::TestCase
2 setup do
3 end
4
5 test \"xxx\" do
6 end
7 end
`--location=5` couldn\'t find the `xxx` test.
[Reported by Ryota Sasabe]
[#]## Thanks
* Ryunosuke Sato
* Tomohiro Hashidate
* Bob Saveland
* Ryota Sasabe
Wed Jul 20 14:00:00 2016 cooloAATTsuse.com
- updated to version 3.2.1
see installed news.md
[#]# 3.2.1 - 2016-07-19 {#version-3-2-1}
[#]## Improvements
* Clarified lib/test/unit/diff.rb license. It\'s a triple license of
the Ruby license, PSF license and LGPLv2.1 or later.
[Reported by Luisa Pace]
* Reported norification when data driven test doesn\'t have
parameter.
[GitHub#122][Reported by Satoshi \"Moris\" Tagomori]
[#]## Thanks
* Luisa Pace
* Satoshi \"Moris\" Tagomori
Sun Jun 12 14:00:00 2016 cooloAATTsuse.com
- updated to version 3.2.0
see installed news.md
[#]# 3.2.0 - 2016-06-12 {#version-3-2-0}
[#]## Improvements
* Supported rxvt family terminals as color available terminals.
[GitHub#121][Reported by Ippei Kishida]
[#]## Thanks
* Ippei Kishida
Sat May 21 14:00:00 2016 cooloAATTsuse.com
- updated to version 3.1.9
see installed news.md
[#]# 3.1.9 - 2016-05-20 {#version-3-1-9}
[#]## Fixes
* Fixed conflict with test-unit-power_assert.
[GitHub#120][Patch by Kazuki Tsujimoto]
* Fixed a bug that path in `$LOAD_PATH` may be removed.
[#]## Thanks
* Kazuki Tsujimoto
Sun Mar 20 13:00:00 2016 cooloAATTsuse.com
- updated to version 3.1.8
see installed news.md
[#]# 3.1.8 - 2016-03-19 {#version-3-1-8}
[#]## Improvements
* Added `--stop-on-failure` command line option. With this option,
running test suite is stopped immediately when one test is failed
or an error is raised in one test.
Mon Jan 18 13:00:00 2016 cooloAATTsuse.com
- updated to version 3.1.7
see installed news.md
[#]# 3.1.7 - 2016-01-17 {#version-3-1-7}
[#]## Fixes
* Added a missing require.
[#]# 3.1.6 - 2016-01-17 {#version-3-1-6}
It\'s a Ruby on Rails integration improvement release.
[#]## Improvements
* Filtered backtrace of power\\_assert.
[GitHub#114]
* Improved performance to retrieve test defined location.
* Improved performance to run fixtures in a test.
* Supported running a test by `yield` in `setup`:
Before:
def setup
AATTfile = File.open(\"x\")
end
def teardown
AATTfile.close
end
After:
def setup
File.open(\"x\") do |file|
AATTfile = file
yield
end
end
* Added `--default-test-path` option that specifies the default path
that has tests.
* Made auto runner registration more lazily. Auto runner isn\'t
registered automatically until user defines a test. In the
previous releases, auto runner is registered automatically when
user defines a test case.
* Supported specifying a test by location in command line. For
example, the following command line runs a test that is defined in
/tmp/test_a.rb at line 10:
% ruby -r test-unit -e run_test /tmp/test_a.rb:10
[#]## Fixes
* Fixed a bug that test isn\'t ran. The test has the same name as
data driven test that is defined in parent test case.
[GitHub#115]
Sat Oct 10 14:00:00 2015 cooloAATTsuse.com
- updated to version 3.1.5
see installed news.md
[#]# 3.1.5 - 2015-10-09 {#version-3-1-5}
It\'s a Rack integration improvement release.
[#]## Improvements
* Renamed experimental top-level `run` method to `run_test` method
because `run` is conflicted with Rack.
[GitHub#32][GitHub:basecamp/pow#303] [Reported by Yevhen Viktorov]
[#]## Thanks
* Yevhen Viktorov
Sat Sep 26 14:00:00 2015 cooloAATTsuse.com
- updated to version 3.1.4
see installed news.md
[#]# 3.1.4 - 2015-09-26 {#version-3-1-4}
It\'s a minor improvement release.
[#]## Improvements
* Updated sample code. [GitHub#109][Patch by takiy33]
* Updated .travis.yml. [GitHub#110][Patch by takiy33]
* document: Added table header in how to document.
[GitHub#111][Patch by takiy33]
* Removed duplicated code.
[GitHub#112][Patch by takiy33]
* Removed needless encoding conversion in fetching code snippet.
[GitHub#113][Patch by NARUSE, Yui]
[#]## Thanks
* takiy33
* NARUSE, Yui
Mon Jul 27 14:00:00 2015 cooloAATTsuse.com
- updated to version 3.1.3
see installed news.md
[#]# 3.1.3 - 2015-07-26 {#version-3-1-3}
It\'s a bug fix release.
[#]## Improvements
* Removed unused `TODO` file. [GitHub#108][Patch by takiy33]
[#]## Fixes
* `--location`: Fixed a bug that `--location LINE` doesn\'t work when
test script is specified as relative path. [Reported by TOMITA Masahiro]
The following doesn\'t work:
% ruby ./test.rb --location 10
The following works:
% ruby test.rb --location 10
[#]## Thanks
* takiy33
* TOMITA Masahiro
Fri Jun 12 14:00:00 2015 cooloAATTsuse.com
- updated to version 3.1.2
see installed news.md
[#]# 3.1.2 - 2015-06-09 {#version-3-1-2}
It\'s command line option improvements fix release.
[#]## Improvements
* `--location`: Made path match rule more strict.
[Suggested by kimura wataru]
* Before:
* If test defined path ends with the specified path, the test is
matched.
* After:
* If base name of test defined path equals to the specified
path, the test is matched.
* If relative path of test defined path equals to the specified
path, the test is matched.
* If the specified path is absolute path and test defined path
equals to the specified path, the test is matched.
* `--pattern`: If the option is specified, the default patterns
aren\'t used. In the earlier versions, both the default patterns
and the specified patterns are used.
[Suggested by kimura wataru]
[#]## Thanks
* kimura wataru
[#]# 3.1.1 - 2015-05-29 {#version-3-1-1}
It\'s a bug fix release.
[#]## Fixes
* Fixed a bug that `--location` detects tests not only in sub test
case but also parent test case.
[GitHub#105][Reported by wanabe]
[#]## Thanks
* wanabe
Thu May 28 14:00:00 2015 cooloAATTsuse.com
- updated to version 3.1.0
see installed news.md
[#]# 3.1.0 - 2015-05-28 {#version-3-1-0}
It\'s a bug fix release.
[#]## Improvements
* [ui][console] Removed needless new line.
[#]## Fixes
* Fixed a bug that priority mode can\'t be used on Windows.
[GitHub#95][Reported by Daniel Berger]
* Fixed a homepage URL RubyGems spec.
[GitHub#96][Patch by Masayoshi Takahashi]
supported.) [GitHub#89][Patch by Aaron Stone]
* Fixed a bug that shutdown hook isn\'t called when pass throw
exception such as `Interrupt` is raised.
[GitHub#98][Reported by jeremiahishere.]
* Fixed typos in documents.
[GitHub#100][Reported by scivola]
[GitHub#102][GitHub#103][Patch by Masafumi Yokoyama]
* Fixed a bug that the same name test isn\'t executed in sub test case.
[GitHub#104][Reported by wanabe]
[#]## Thanks
* Daniel Berger
* Masayoshi Takahashi
* jeremiahishere
* scivola
* Masafumi Yokoyama
* wanabe
Tue Feb 10 13:00:00 2015 cooloAATTsuse.com
- updated to version 3.0.9
Sat May 18 14:00:00 2013 cooloAATTsuse.com
- updated to version 2.5.5, no changelog
Wed Jan 23 13:00:00 2013 cooloAATTsuse.com
- updated to version 2.5.4, no changelog
Thu Nov 29 13:00:00 2012 cooloAATTsuse.com
- updated to version 2.5.3
* improved mini-test compat
Wed Aug 29 14:00:00 2012 cooloAATTsuse.com
- updated to version 2.5.2, no changelog
Sun Jul 15 14:00:00 2012 cooloAATTsuse.com
- update to 2.5.1, no changelog
Fri Jun 22 14:00:00 2012 cooloAATTsuse.com
- update to 2.5.0, no changelog
Fri Apr 27 14:00:00 2012 cooloAATTsuse.com
- trying to fix an issue with ci_reporter (see github)
Wed Apr 4 14:00:00 2012 cooloAATTsuse.com
- update to 2.4.8 - History.txt removed ;(
Mon Jun 14 14:00:00 2010 mrueckertAATTsuse.de
- additional changes from version 2.0.9
* fix a packaging miss.
- additional changes from version 2.0.8
* collect
*_test.rb and
*-test.rb files as test files.
* [#28181] improve assert_in_delta message.
[Suggested by David MARCHALAND]
* show string encoding in assert_equal failure message if
they are different.
* change default color scheme:
* success: green back + white
* failure: red back + white
* add capture_output.
* fix a bug that console runner on verbose mode causes an
error for long test name (>= 61).
* [#28093] Autorunner ignores all files in a directory named test
by default [Reported by Florian Frank]
- additional changes from version 2.0.7
* detect redefined test methods.
* [INTERFACE IMCOMPATIBLE] multiple --name and --testcase
options narrow down targets instead of adding targets.
* [#27764] accept custom test_order for each test case.
[Suggested by David MARCHALAND]
* [#27790] ignore omitted tests from \'n% passed\' report.
[Suggested by Daniel Berger]
* [#27832] ignore .git directory. [Suggested by Daniel Berger]
* [#27792] require \'fileutils\' and \'tmpdir\' lazily for
non-priority mode users. [Suggested by David MARCHALAND]
* [#27892] modify processed arguments array destructively.
[Reported by Bob Saveland]
* work without HOME environment variable.
[Reported by Champak Ch]
- additional changes from version 2.0.6
* [#27380] Declarative syntax? [Daniel Berger]
support declarative syntax:
test \"test description in natural language\" do
...
end
* support test description:
description \"test description in natural language\"
def test_my_test
...
end
* make max diff target string size customizable by
TEST_UNIT_MAX_DIFF_TARGET_STRING_SIZE environment variable.
* [#27374] omit_if unexpected behavior [David MARCHALAND]
* fix a bug that tests in sub directories aren\'t load with
- -basedir. [Daniel Berger]
Fri Jun 11 14:00:00 2010 mrueckertAATTsuse.de
- use rubygems_requires macro
Mon Nov 16 13:00:00 2009 dmacvicarAATTnovell.com
- update to 2.0.5
* [#27314] fix diff may raise an exception. [Erik Hollensbe]
- changes in 2.0.4
* 4 major enhancements
* use ~/.test-unit.yml as global configuration file.
* add TAP runner. (--runner tap)
* support colorized diff:
http://test-unit.rubyforge.org/svn/trunk/images/color-diff.png
* add Test::Unit::AutoRunner.default_runner= to specify default
test runner.
* improve verbose mode output format. (use indent)
* support NOT_PASS_THROUGH_EXCEPTIONS.
* support arguments option in #{runner}_options.
* TC_ -> Test in sample test case name.
* [#27195] test-unit-2.0.3 + ruby-1.9.1 cannot properly test
DelegateClass subclasses [Mike Pomraning]
Fri Sep 4 14:00:00 2009 lslezakAATTsuse.cz
- updated to test-unit-2.0.3
Thu Jul 16 14:00:00 2009 lslezakAATTsuse.cz
- do not pack /usr/bin/testrb file, it conflicts with the file
in the main ruby package (it\'s the same file)
Thu Jul 16 14:00:00 2009 lslezakAATTsuse.cz
- initial packaging (version 2.0.2)