Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: Test.pm & t/force_todo refactoring idea: msg#00129

lang.perl.perl6.compiler

Subject: Re: Test.pm & t/force_todo refactoring idea

Hi,

Stevan Little <stevan <at> iinteractive.com> writes:
> - Should we remove all the todo_* functions and just use the
> t/force_todo file?

the idea was that t/force_todo lists the tests which are only
TODOed because of release preparation, and the todo_* functions
mark tests which are real TODO tests.

If we take this way, then we should certainly rename t/force_todo
to t/todo_tests (or sth. similar).

> - Should we do away with the t/force_todo file and introduce a
> force_todo() function?
>
> The idea is to move from the more centralized t/force_todo file to a
> more decentralized force_todo() function which would accept a list of
> test numbers which would be forced-TODO on a per-file basis.

The idea was that t/force_todo can be deleted/cleared after a release,
so all tests which were only force_todoed were instantly unTODOed.

But if we remove all todo_* functions and go the todo_tests way, then
we really should use a sub (todo_tests(...), for example), as you
propose.

> force_todo(1, 5, 10 .. 15, 25);

That'd be cool :)

Of course, we could make Test.pm parse sth. like the following, too.
t/my_test.t 1 5 10..15 25


--Ingo

--
Linux, the choice of a GNU | Life would be so much easier if we could
generation on a dual AMD | just look at the source code.
Athlon! | -- Dave Olson




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qnx.openqnx.dev...    gcc.libstdc++.c...    solaris.opensol...    information-ret...    misc.misterhous...    web.catalyst.ge...    apache.webservi...    redhat.release....    hardware.lirc/2...    kernel.autofs/2...    technology.sust...    linux.vdr/2003-...    editors.lyx.gen...    org.user-groups...    netbsd.devel.pk...    xdg.devel/2004-...    version-control...    jakarta.slide.d...    debian.packages...    creativecommons...    ports.ppc.embed...    bug-tracking.bu...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe