pkgsrc/devel/ruby-test-unit/PLIST
taca e2b248c549 devel/ruby-test-unit: update to 3.2.9
## 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}`
2018-12-02 06:37:54 +00:00

106 lines
4.3 KiB
Text

@comment $NetBSD: PLIST,v 1.14 2018/12/02 06:37:54 taca Exp $
${GEM_HOME}/cache/${GEM_NAME}.gem
${GEM_LIBDIR}/COPYING
${GEM_LIBDIR}/GPL
${GEM_LIBDIR}/LGPL
${GEM_LIBDIR}/PSFL
${GEM_LIBDIR}/README.md
${GEM_LIBDIR}/Rakefile
${GEM_LIBDIR}/doc/text/getting-started.md
${GEM_LIBDIR}/doc/text/how-to.md
${GEM_LIBDIR}/doc/text/news.md
${GEM_LIBDIR}/lib/test-unit.rb
${GEM_LIBDIR}/lib/test/unit.rb
${GEM_LIBDIR}/lib/test/unit/assertion-failed-error.rb
${GEM_LIBDIR}/lib/test/unit/assertions.rb
${GEM_LIBDIR}/lib/test/unit/attribute-matcher.rb
${GEM_LIBDIR}/lib/test/unit/attribute.rb
${GEM_LIBDIR}/lib/test/unit/auto-runner-loader.rb
${GEM_LIBDIR}/lib/test/unit/autorunner.rb
${GEM_LIBDIR}/lib/test/unit/code-snippet-fetcher.rb
${GEM_LIBDIR}/lib/test/unit/collector.rb
${GEM_LIBDIR}/lib/test/unit/collector/descendant.rb
${GEM_LIBDIR}/lib/test/unit/collector/dir.rb
${GEM_LIBDIR}/lib/test/unit/collector/load.rb
${GEM_LIBDIR}/lib/test/unit/collector/objectspace.rb
${GEM_LIBDIR}/lib/test/unit/collector/xml.rb
${GEM_LIBDIR}/lib/test/unit/color-scheme.rb
${GEM_LIBDIR}/lib/test/unit/color.rb
${GEM_LIBDIR}/lib/test/unit/data-sets.rb
${GEM_LIBDIR}/lib/test/unit/data.rb
${GEM_LIBDIR}/lib/test/unit/diff.rb
${GEM_LIBDIR}/lib/test/unit/error.rb
${GEM_LIBDIR}/lib/test/unit/exception-handler.rb
${GEM_LIBDIR}/lib/test/unit/failure.rb
${GEM_LIBDIR}/lib/test/unit/fault-location-detector.rb
${GEM_LIBDIR}/lib/test/unit/fixture.rb
${GEM_LIBDIR}/lib/test/unit/notification.rb
${GEM_LIBDIR}/lib/test/unit/omission.rb
${GEM_LIBDIR}/lib/test/unit/pending.rb
${GEM_LIBDIR}/lib/test/unit/priority.rb
${GEM_LIBDIR}/lib/test/unit/runner/console.rb
${GEM_LIBDIR}/lib/test/unit/runner/emacs.rb
${GEM_LIBDIR}/lib/test/unit/runner/xml.rb
${GEM_LIBDIR}/lib/test/unit/test-suite-creator.rb
${GEM_LIBDIR}/lib/test/unit/testcase.rb
${GEM_LIBDIR}/lib/test/unit/testresult.rb
${GEM_LIBDIR}/lib/test/unit/testsuite.rb
${GEM_LIBDIR}/lib/test/unit/ui/console/outputlevel.rb
${GEM_LIBDIR}/lib/test/unit/ui/console/testrunner.rb
${GEM_LIBDIR}/lib/test/unit/ui/emacs/testrunner.rb
${GEM_LIBDIR}/lib/test/unit/ui/testrunner.rb
${GEM_LIBDIR}/lib/test/unit/ui/testrunnermediator.rb
${GEM_LIBDIR}/lib/test/unit/ui/testrunnerutilities.rb
${GEM_LIBDIR}/lib/test/unit/ui/xml/testrunner.rb
${GEM_LIBDIR}/lib/test/unit/util/backtracefilter.rb
${GEM_LIBDIR}/lib/test/unit/util/method-owner-finder.rb
${GEM_LIBDIR}/lib/test/unit/util/observable.rb
${GEM_LIBDIR}/lib/test/unit/util/output.rb
${GEM_LIBDIR}/lib/test/unit/util/procwrapper.rb
${GEM_LIBDIR}/lib/test/unit/version.rb
${GEM_LIBDIR}/sample/adder.rb
${GEM_LIBDIR}/sample/subtracter.rb
${GEM_LIBDIR}/sample/test_adder.rb
${GEM_LIBDIR}/sample/test_subtracter.rb
${GEM_LIBDIR}/sample/test_user.rb
${GEM_LIBDIR}/test/collector/test-descendant.rb
${GEM_LIBDIR}/test/collector/test-load.rb
${GEM_LIBDIR}/test/collector/test_dir.rb
${GEM_LIBDIR}/test/collector/test_objectspace.rb
${GEM_LIBDIR}/test/fixtures/header-label.csv
${GEM_LIBDIR}/test/fixtures/header-label.tsv
${GEM_LIBDIR}/test/fixtures/header.csv
${GEM_LIBDIR}/test/fixtures/header.tsv
${GEM_LIBDIR}/test/fixtures/no-header.csv
${GEM_LIBDIR}/test/fixtures/no-header.tsv
${GEM_LIBDIR}/test/fixtures/plus.csv
${GEM_LIBDIR}/test/run-test.rb
${GEM_LIBDIR}/test/test-assertions.rb
${GEM_LIBDIR}/test/test-attribute-matcher.rb
${GEM_LIBDIR}/test/test-attribute.rb
${GEM_LIBDIR}/test/test-code-snippet.rb
${GEM_LIBDIR}/test/test-color-scheme.rb
${GEM_LIBDIR}/test/test-color.rb
${GEM_LIBDIR}/test/test-data.rb
${GEM_LIBDIR}/test/test-diff.rb
${GEM_LIBDIR}/test/test-emacs-runner.rb
${GEM_LIBDIR}/test/test-error.rb
${GEM_LIBDIR}/test/test-failure.rb
${GEM_LIBDIR}/test/test-fault-location-detector.rb
${GEM_LIBDIR}/test/test-fixture.rb
${GEM_LIBDIR}/test/test-notification.rb
${GEM_LIBDIR}/test/test-omission.rb
${GEM_LIBDIR}/test/test-pending.rb
${GEM_LIBDIR}/test/test-priority.rb
${GEM_LIBDIR}/test/test-test-case.rb
${GEM_LIBDIR}/test/test-test-result.rb
${GEM_LIBDIR}/test/test-test-suite-creator.rb
${GEM_LIBDIR}/test/test-test-suite.rb
${GEM_LIBDIR}/test/testunit-test-util.rb
${GEM_LIBDIR}/test/ui/test_testrunmediator.rb
${GEM_LIBDIR}/test/util/test-method-owner-finder.rb
${GEM_LIBDIR}/test/util/test-output.rb
${GEM_LIBDIR}/test/util/test_backtracefilter.rb
${GEM_LIBDIR}/test/util/test_observable.rb
${GEM_LIBDIR}/test/util/test_procwrapper.rb
${GEM_HOME}/specifications/${GEM_NAME}.gemspec