[#600] A `File' is not a `IO'????? — clemens.hintze@...

17 messages 1999/08/10
[#602] Re: A `File' is not a `IO'????? — matz@... (Yukihiro Matsumoto) 1999/08/10

Hi,

[#679] Documentation about RD? — Clemens Hintze <c.hintze@...>

Hi,

78 messages 1999/08/17
[#680] Summary of discussion about RD (Re: Documentation about RD?) — Toshiro Kuwabara <toshirok@...3.so-net.ne.jp> 1999/08/18

=begin

[#683] Re: Summary of discussion about RD (Re: Documenta tion about RD?) — clemens.hintze@... 1999/08/18

On 18 Aug, Toshiro Kuwabara wrote:

[#686] Re: Summary of discussion about RD (Re: Documenta tion about RD?) — gotoken@... (GOTO Kentaro) 1999/08/18

Hi,

[#687] Re: Summary of discussion about RD (Re: Docum enta tion about RD?) — clemens.hintze@... 1999/08/18

On 18 Aug, GOTO Kentaro wrote:

[#693] Re: Summary of discussion about RD (Re: Docum enta tion about RD?) — Toshiro Kuwabara <toshirok@...3.so-net.ne.jp> 1999/08/18

Hi,

[#695] Re: Summary of discussion about RD (Re: Docum enta tion about RD?) — Clemens Hintze <c.hintze@...> 1999/08/18

On 19 Aug, Toshiro Kuwabara wrote:

[#697] Re: Summary of discussion about RD (Re: Docum enta tion about RD?) — Toshiro Kuwabara <toshirok@...3.so-net.ne.jp> 1999/08/19

Hi,

[#703] Re: Summary of discussion about RD (Re: Docum enta tion about RD?) — Clemens Hintze <c.hintze@...> 1999/08/19

On 19 Aug, Toshiro Kuwabara wrote:

[#706] Re: Summary of discussion about RD (Re: Docum enta tion about RD?) — Toshiro Kuwabara <toshirok@...3.so-net.ne.jp> 1999/08/19

Hi,

[#681] Re: Summary of discussion about RD (Re: Documentation about RD?) — gotoken@... (GOTO Kentaro) 1999/08/18

Hi,

[#682] Re: Summary of discussion about RD (Re: Documentation about RD?) — Toshiro Kuwabara <toshirok@...3.so-net.ne.jp> 1999/08/18

Hi,

[#684] Re: Summary of discussion about RD (Re: Documentation about RD?) — TAKAHASHI Masayoshi <maki@...> 1999/08/18

Hi Tosh and all,

[#685] Re: Summary of discussion about RD (Re: Documentation about RD?) — gotoken@... (GOTO Kentaro) 1999/08/18

Hi,

[#689] Re: Summary of discussion about RD (Re: Documentation about RD?) — Toshiro Kuwabara <toshirok@...3.so-net.ne.jp> 1999/08/18

Hi,

[#694] Re: Summary of discussion about RD (Re: Documentation about RD?) — matz@... (Yukihiro Matsumoto) 1999/08/18

Hi,

[#700] Re: Summary of discussion about RD (Re: Documentation about RD?) — Toshiro Kuwabara <toshirok@...3.so-net.ne.jp> 1999/08/19

Hi,

[#702] Re: Summary of discussion about RD (Re: Documentation about RD?) — matz@... (Yukihiro Matsumoto) 1999/08/19

Hi,

[#704] Re: Summary of discussion about RD (Re: Docum entation about RD?) — Clemens Hintze <c.hintze@...> 1999/08/19

On 19 Aug, Yukihiro Matsumoto wrote:

[#719] Re: Summary of discussion about RD (Re: Docum entation about RD?) — Toshiro Kuwabara <toshirok@...3.so-net.ne.jp> 1999/08/20

Hi,

[#720] Re: Summary of discussion about RD (Re: Docum entation about RD?) — clemens.hintze@... 1999/08/20

On 20 Aug, Toshiro Kuwabara wrote:

[#721] Re: Summary of discussion about RD (Re: Docum entation about RD?) — Toshiro Kuwabara <toshirok@...3.so-net.ne.jp> 1999/08/20

Hi,

[#722] Re: Summary of discussion about RD (Re: Docum entation about RD?) — clemens.hintze@... 1999/08/20

On 21 Aug, Toshiro Kuwabara wrote:

[#723] Re: Summary of discussion about RD (Re: Docum entation about RD?) — Toshiro Kuwabara <toshirok@...3.so-net.ne.jp> 1999/08/20

Hi,

[#737] RD with multi charset — Minero Aoki <aamine@...>

Hi, I'm Minero Aoki. This is my first mail in this mailling list.

26 messages 1999/08/22

[ruby-talk:00640] Re: ANN: testsupp.rb 0.1

From: gotoken@... (GOTO Kentaro)
Date: 1999-08-11 23:44:35 UTC
List: ruby-talk #640
Hi,

In message "[ruby-talk:00638] Re: ANN: testsupp.rb 0.1"
    on 99/08/12, Clemens Hintze <c.hintze@gmx.net> writes:
>> 1. test_section such as
>>      def test_section(what = "(No Title)")
>>        check(what)
>>        start_tests
>>        yield
>>        end_tests
>>      end
>
>Hmmm :-/ What do you want to do? Do you want to use it for a whole
>file? Because normally one test script should test more than one
>section, like the second example in the comment header of `testsupp.rb'.
>
>If you would use your test_section, it would restart the section
>numbering with (1) every time you use it. Is it that, what you expect?

Sorry for shortage of my words :-(
I intendet hierarchical test like as

  test_section("File processing") do
    test_section("open and close") do
      ok f = Foo.open("foo.txt")
      ok f.close
    end

    test_section("translation") do
      Foo.open("foo.txt"){
	ok f.translate(Foo:Japanese, Foo:English)
	ok f.translate(Foo:English)
      }
    end
  end

  test_section("Inline processing") do
    ...
  end

Of course, now TestSupp does not support such deep leveled nest. But,
I want categorization by block at least. I feel that start_test makes
blurred the range of each test block.

>> 2. quiet option for all method
>
>What dou you mean with it? What would a `quiet' option do? Suppress the
>whole output?

Yes. Usually I need only error report. 

>> 3. customizable output format
>
>How would you prefer it? The output is somewhat complex because I have
>tried to pay attention to the grammar numerus of the sentences. Because
>of the complexity, I think template handling would be too confusing. I
>could think about calling another user-defined method with the
>corresponding parameters. Let it decide how to format the text and how
>to handle the grammar. Would that be okay for you?

Well, a proposal is
  %C  for @catnum
  %T  for @testnum
  %N  for @ntests
  %W  for @what

Then use irb/main.rb:prompt() technic. How do you think?

>PS: I have currently another test library under developement. It is
>much more sophisticated and would pay attention regarding prerequisite
>testcases. You easily can write a parser that is able to parse the test
>description. Three parsers (until yet) are already contained in that

It sounds great!

>package. But I have to document it a little bit more... :)

By the way, would you try RD? CGI.rb (in contrib/) is a example for RD
documentation. And rd2html is generate html file from .rb file. 

-- gotoken

In This Thread