Project

General

Profile

Actions

Bug #8778

closed

lib/test/ documentation is too weak

Bug #8778: lib/test/ documentation is too weak

Added by zzak (zzak _) about 12 years ago. Updated about 12 years ago.

Status:
Closed
Target version:
-
ruby -v:
2.1.0dev
[ruby-core:56562]

Description

sora-san when you are well-fed and well-rested: what do you propose for lib/test/ documentation?

I suggest 'nodoc' the majority of it adding a note about 'compatibility layer' to top-level module.

However, I realize there may be some test-unit users still.

I am willing to document existing functionality of lib/test/ if 'nodoc' is rejected.

Using RDoc: I have generated a coverage report of current lib/test/: https://gist.github.com/zzak/6208031


Files

Updated by zzak (zzak _) about 12 years ago Actions #1 [ruby-core:56563]

  • Description updated (diff)

Updated by sorah (Sorah Fukumori) about 12 years ago Actions #2 [ruby-core:56649]

Sorry for late reply,

This is okay for me, if there is no objection.

Does anyone have objection for this?

Updated by steveklabnik (Steve Klabnik) about 12 years ago Actions #3 [ruby-core:56694]

I have attached a patch that will do this. If there is no objection, please feel free to apply it. :)

Updated by zzak (zzak _) about 12 years ago Actions #4

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r42632.
Zachary, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


  • lib/test/: [DOC] Document Test::Unit, hide most submodules and
    classes from rdoc. Since lib/test is only present as a compatibility
    layer with the legacy test suite many test/unit users will be using
    minitest or the test/unit gem instead. It is recommended to use one
    of these alternatives for writing new tests.

    This patch was based on a patch submitted by Steve Klabnik.
    [ruby-core:56694] [Bug #8778]

Actions

Also available in: PDF Atom

Like0
Like0Like0Like0Like0