) has so far been my main reason for delays.
I would like to implement a simple network transport based on a
subset of Class::Publisher to provide sane client/server interaction
between the test daemon and it's clients.
What do you think?
--
() Yuval Kogman <[EMAIL PROTECTED]> 0xEB
On Wed, Mar 02, 2005 at 12:36:43 +0200, Gabor Szabo wrote:
> How to check the coverage of the CGI scripts and the modules used by them ?
I would make scripts that look like
< 0xEBD27418 perl hacker &
/\ kung foo master: /me kicks %s on the nose: neeyah!
pgpAMbexaYOhV.pgp
D
d lure you
guys into participation in pugs.
See you there[1]!
[1] #perl6 on freenode, perl6-compiler@perl.org, or anywhere else
linked from http://pugscode.org.
--
() Yuval Kogman <[EMAIL PROTECTED]> 0xEBD27418 perl hacker &
/\ kung foo master: MMM
Petal
template.
Ciao!
--
() Yuval Kogman <[EMAIL PROTECTED]> 0xEBD27418 perl hacker &
/\ kung foo master: /methinks long and hard, and runs away: neeyah!!!
pgpPHu6D5RWvM.pgp
Description: PGP signature
r visualize the state of
> large test runs.
>
> However, I can't tell from the docs how to run the test suite such that
> it gets involved in the process. Could someone provide an example?
>
> Thanks!
>
> Mark
>
> --
> http://mark.stosberg.com/
>
ab it from
> http://www.hutchinsonsoftware.com/misc/run_tap
In this script you probably want to set $v->has_inline_css(1), so
that you can have the proper CSS stuff without mucking with another
file.
--
() Yuval Kogman <[EMAIL PROTECTED]> 0xEBD27418 perl hacker &
/\ kung foo mast
;t through how this would work in the face of having 2 streams
> that might have meaningful data on them and aren't synchronized (STDOUT
> and STDERR).
STDERR should have data only for the user, at least in my
experience.
--
() Yuval Kogman <[EMAIL PROTECTED]> 0xEBD27418 perl hacker &
/\ kung foo master: /me does a karate-chop-flip: neeyah!!
pgpaFpIBqVlGB.pgp
Description: PGP signature
It's been done =)
I'll post a link as soon as ingy replies, which usually takes a
while.. =)
--
() Yuval Kogman <[EMAIL PROTECTED]> 0xEBD27418 perl hacker &
/\ kung foo master: /me climbs a brick wall with his fingers: neeyah!
pgpGXBZJidLRS.pgp
Description: PGP signature
truish, as far as Devel::Cover is concerned - it might not be.
Any fix that could be thought up is inherently problematic.
Coverage reporting is not done for the pretty colors - a human reads
it, and says "OK, this is logical, get_current_coords always returns
a true value". It's
On Mon, Jul 11, 2005 at 13:17:48 -0700, Michael G Schwern wrote:
> On Mon, Jul 11, 2005 at 07:38:57PM +0300, Yuval Kogman wrote:
>
> I'll make the same argument "no broken windows" argument here that I do
> about warnings and tests: elminate all warnings, even if t
to Perl's idiomatic nature is a
harder question though.
Personally I prefer explicit meta-comments, one for each || in the
line. I think It's a bit reminiscent of Test::More's $TODO.
--
() Yuval Kogman <[EMAIL PROTECTED]> 0xEBD27418 perl hacker &
/\ kung
ndler, and the interactive terminal output thingy will
be another.
Even in it's current hackish status Test::TAP::Model sure made
writing Test::TAP::HTMLMatrix a lot easier.
Ciao!
--
() Yuval Kogman <[EMAIL PROTECTED]> 0xEBD27418 perl hacker &
/\ kung foo
3 days get a
buggy, outdated version when a better one is updated? Aren't the 3
days till the patch is applied enough?
CPAN.pm handles module dependencies. All Tels really has to do is
set 'follow' instead of 'ask', or use one of the tools available to
make a co
y installations work
and are reccomended
* inconsistency in the notion of the latest version of a module
being installed by a user who is not expecting a bundled
support module
--
() Yuval Kogman <[EMAIL PROTECTED]> 0xEBD27418 perl hacker &
/\ kung foo master: /me wields bonsai kittens: neeyah
pgpzLk2HHAn3Y.pgp
Description: PGP signature
On Mon, Sep 12, 2005 at 04:22:05 +0300, Yuval Kogman wrote:
> It still promotes:
I forgot:
* unnecessary rolling and rerolling of distribution tarballs
with no real merit but updating the bundled code causes
version space pollution, and makes users who update anno
picked up by the normal means - so now my perl and (most of) my VB code
> can be tested. Yay.
We did the same for our C++ unit testing suite. It's a bit kludgier,
since there isn't one stream per file, but a bunch of lines per test
fixture, so we use analyze_lines.
--
() Yuval
cast-7-talking-selenium-with-luke-closs
That and unit tests for your ajax handlers should do it.
--
() Yuval Kogman <[EMAIL PROTECTED]> 0xEBD27418 perl hacker &
/\ kung foo master: /me kicks %s on the nose: neeyah!
pgprvZR0Fd8IK.pgp
Description: PGP signature
choice?
I think it's a very good choice.
--
() Yuval Kogman <[EMAIL PROTECTED]> 0xEBD27418 perl hacker &
/\ kung foo master: /me does a karate-chop-flip: neeyah!!
pgpBJNCaqSLbk.pgp
Description: PGP signature
m IPC::Run3 to IPC::Run is quite
easy. If you sever do need weird callbacks, several processes at a
time, or PTY support it should be an easy switch. However, for the
mean while IPC::Run3 is probably just what you need.
--
() Yuval Kogman <[EMAIL PROTECTED]> 0xEBD27418 perl hacker &
/
ut that hasn't been tested) and MySQL 4.x.
Could you please please please pretty please with a cherry on top
add SQLite support?
Another, much more pretentious request is that you refactor anything
and everything you can into generic modules and put them on the
CPAN.
--
() Yuval Kogman &
nd Test::TAP::Model that
> should make it easier to gather more information.
Shlomi Fish wrote Test::Run, a Test::Harness fork and was
considering improving Test::TAP::Model as well... It might be
beneficial for you guys to help each other out if you can.
--
() Yuval Kogman <[EMAIL PROTE
not
signature tests are useless (i think they are, but then again i also
think i have some modules with Test::Distribution that checks
that... so I am a hypocrit ;-) the usability of these tests will be
good enough.
(I'm CCing audrey so that she'll know I'm dissing her module ;-)
-
k it's overkill.
--
() Yuval Kogman <[EMAIL PROTECTED]> 0xEBD27418 perl hacker &
/\ kung foo master: /me wields bonsai kittens: neeyah
pgpwVvPXpof4P.pgp
Description: PGP signature
n.testers/297804
The *really* bad thing is that i didn't even get a
"Can't locate ok.pm in @INC"
in the output, only that some tests failed, and no further output.
--
() Yuval Kogman <[EMAIL PROTECTED]> 0xEBD27418 perl hacker &
/\
test_failure
prereq_failure
etc etc.
Human *AND* machine readable.
--
() Yuval Kogman <[EMAIL PROTECTED]> 0xEBD27418 perl hacker &
/\ kung foo master: *shu*rik*en*sh*u*rik*en*s*hur*i*ke*n*: neeyah
pgpt28wRHpt4p.pgp
Description: PGP signature
consolidated (the example is
actually a bit overly verbose - it could have just been
Test::TAP::HTMLMatrix->new( $model_ok, $modeL_failing )).
The resulting HTML file displays the two test runs together, with
their differences highlighted and expanded.
Have fun!
--
Yuval Kogman <[EMAIL PROTECTED]
nally feel that this be a bit
louder, but whatever Lincoln feels is best is his own choice.
Anyway, have fun.
--
Yuval Kogman <[EMAIL PROTECTED]>
http://nothingmuch.woobling.org 0xEBD27418
diff -Nur Devel-Cycle-1.04/lib/Devel/Cycle.pm
Devel-Cycle-with_code/lib/Devel/Cycle.pm
--- Devel
Oops, bad patch.
I added lib/Test/Memory/Cycle.pm as a symlink so that I don't have
to 'make' each time to run the tests.
--
Yuval Kogman <[EMAIL PROTECTED]>
http://nothingmuch.woobling.org 0xEBD27418
pgpPKFcAKsI6l.pgp
Description: PGP signature
ess
$ENV{TEST_POD} is off. They add kwalitee, but they usually fail
making this even more of a contest when size doesn't matter ;-)
--
Yuval Kogman <[EMAIL PROTECTED]>
http://nothingmuch.woobling.org 0xEBD27418
pgpeXw7ybd3GT.pgp
Description: PGP signature
mess).
--
Yuval Kogman <[EMAIL PROTECTED]>
http://nothingmuch.woobling.org 0xEBD27418
pgpwAyXqTBd4Y.pgp
Description: PGP signature
since TAP revisions are not
explicitly asked for... Too bad I missed talking to you at the
hackathon - if I had only thought about this we could have talked in
meat-space.
--
Yuval Kogman <[EMAIL PROTECTED]>
http://nothingmuch.woobling.org 0xEBD27418
pgpf438d8dDtr.pgp
Description: PGP signature
was very hacky to make work.
--
Yuval Kogman <[EMAIL PROTECTED]>
http://nothingmuch.woobling.org 0xEBD27418
pgpAR23IPo6Du.pgp
Description: PGP signature
etc), the position of the test so that we can use
backlinks, and color the test file in HTML, and potentially other
info.
It would be nice if this would be standardized.
--
Yuval Kogman <[EMAIL PROTECTED]>
http://nothingmuch.woobling.org 0xEBD27418
pgpg2RypZImgp.pgp
Description: PGP signature
::Builder are much more useful this way, too.
--
Yuval Kogman <[EMAIL PROTECTED]>
http://nothingmuch.woobling.org 0xEBD27418
pgpn0AMgdGKGV.pgp
Description: PGP signature
On Tue, Sep 05, 2006 at 12:01:47 +0300, Yuval Kogman wrote:
> FWIW, pugs' test suite outputs diags to STDOUT. Things like
> Test::TAP::Builder are much more useful this way, too.
Err, i mean Test::TAP::Model.
--
Yuval Kogman <[EMAIL PROTECTED]>
http://nothingmuch.wooblin
at file.
If someone would like to compile a directory of licenses as a
module, with data from that license site, then this would be nice,
but Module::Build's data is just not good enough to be a fair
metric.
--
Yuval Kogman <[EMAIL PROTECTED]>
http://nothingmuch.woobling.org 0xEBD27418
pgpFl1J9euTgg.pgp
Description: PGP signature
ock object that doesn't actually send email
b. also test that send_email is being called when appropriate
--
Yuval Kogman <[EMAIL PROTECTED]>
http://nothingmuch.woobling.org 0xEBD27418
pgpRLfNaMNA86.pgp
Description: PGP signature
*cough* if it were a push parser *cough*
--
Yuval Kogman <[EMAIL PROTECTED]>
http://nothingmuch.woobling.org 0xEBD27418
Is there a function that is to this as overload::StrVal is to
stringification?
I don't see it on the CPAN yet so I figured I'd ask.
The feature is übersweet, and Data::Lazy should make good use of it
too. You++!
Cheers,
--
Yuval Kogman <[EMAIL PROTECTED]>
http://nothingm
On Sun, Feb 25, 2007 at 22:51:43 -0800, Joshua ben Jore wrote:
> On 2/25/07, Yuval Kogman <[EMAIL PROTECTED]> wrote:
> >Is there a function that is to this as overload::StrVal is to
> >stringification?
>
> No. blessed() doesn't lie to you and I don't change t
On Sun, Feb 25, 2007 at 22:34:15 -0800, chromatic wrote:
> Why not, I already have half of the other stuff in UNIVERSAL
Just don't tell Adam.
--
Yuval Kogman <[EMAIL PROTECTED]>
http://nothingmuch.woobling.org 0xEBD27418
pgpBQt76ylqNT.pgp
Description: PGP signature
def
}
<http://search.cpan.org/src/GBARR/Scalar-List-Utils-1.19/lib/Scalar/Util.pm>
I predict that the next anti duck perl idiom is going to be:
eval { $x->UNIVERSAL::can("can") }
to determine "true blessedness"
--
Yuval Kogman <[EMAIL PROTECTE
erence, the empty string otherwise.
I suppose
if ( length( ref $x ) ) { }
is a better test, but when have you ever seen that? I don't think
i'll start using it.
--
Yuval Kogman <[EMAIL PROTECTED]>
http://nothingmuch.woobling.org 0xEBD27418
pgpsBqvuuswWZ.pgp
Description: PGP signature
lities of a value it's because i'm writing a
dispatch table wrapper that will look for a handler based on the
class or something like that.
--
Yuval Kogman <[EMAIL PROTECTED]>
http://nothingmuch.woobling.org 0xEBD27418
pgp4GLKtYxek8.pgp
Description: PGP signature
bviously doing it for that intended
behavior.
What is the alternative? How much "broken" perl code do you intend
to fix?
--
Yuval Kogman <[EMAIL PROTECTED]>
http://nothingmuch.woobling.org 0xEBD27418
pgpxh861JJQV8.pgp
Description: PGP signature
l indifference - there's lots of code that needs to
care a little bit in order to be more flexible, not less. I can post
examples of what I mean if you like.
--
Yuval Kogman <[EMAIL PROTECTED]>
http://nothingmuch.woobling.org 0xEBD27418
pgpNy7KmpcDAD.pgp
Description: PGP signature
On Mon, Feb 26, 2007 at 13:50:58 -0800, Michael G Schwern wrote:
> Please reconsider autobox.
While I second that for the aforementioned reasons I have an off
topic one too:
That's the only way it'd get accepted. Something that devious has to
be in core to pass off as safe.
--
uses_version_control sounds more like lacks_manifest_skip_file which
should deduct kwalitee IMHO.
--
Yuval Kogman <[EMAIL PROTECTED]>
http://nothingmuch.woobling.org 0xEBD27418
pgpsXwQhXSOWB.pgp
Description: PGP signature
On Sat, Mar 31, 2007 at 18:26:26 -0400, Yuval Kogman wrote:
> uses_version_control sounds more like lacks_manifest_skip_file which
> should deduct kwalitee IMHO.
Hmm... reading into the other metrics, it seems like you were
kidding. My bad ;-)
--
Yuval Kogman <[EMAIL PROTECT
s ;-)
It was def. a good one =)
--
Yuval Kogman <[EMAIL PROTECTED]>
http://nothingmuch.woobling.org 0xEBD27418
pgpQBGUXShqVY.pgp
Description: PGP signature
form controller. The difference is that the
> two views actually inherit their behavior from the controller and can be
> used interchangeably with it.
Eh, how?
--
Yuval Kogman <[EMAIL PROTECTED]>
http://nothingmuch.woobling.org 0xEBD27418
pgpYVx1iOg9y8.pgp
Description: PGP signature
it as separation of
concerns with duck typing in the model and view, and ugliness kept
contained in the controllers, IMHO not much to do with
inheritence/chaining at
all, but i guess that could work.
--
Yuval Kogman <[EMAIL PROTECTED]>
http://nothingmuch.woobling.org 0xEBD27418
pgpD6Y9aJddZ7.pgp
Description: PGP signature
xtends works well,
if you want it for real code I guess you could cannibalize that, but
I doubt you'll find this as a pattern anywhere else because most
languages that have a pattern naming culture lack the flexbility to
do these tricks
--
Yuval Kogman <[EMAIL PROTECTED]>
htt
ber of
> mutatable entities in a program - which is generally a kwalitee and perhaps
> even quality win.
I've had very good results with that approach. Class::Workflow's
instance object is perhaps the most prominent example, but lots of
meta-meta-meta-meta work in Moose land's
On Mon, Apr 02, 2007 at 23:08:40 +0100, Andy Armstrong wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On 2 Apr 2007, at 22:47, Yuval Kogman wrote:
> >>I explicitly don't want $wider and $mono to be /clones/ of $base - I want
> >>them to /be/
If anybody is interested in helping the project commit access and
pause comaint is readily available.
The only caveat is that the relative fame is diminished due to the
already long list of authors ;-)
--
Yuval Kogman <[EMAIL PROTECTED]>
http://nothingmuch.woobling.org 0xEBD27418
On Sun, Sep 02, 2007 at 14:15:01 +0100, Andy Armstrong wrote:
> Assuming nobody has already volunteered I'll wave my hand. I'll take
> a look at it sometime in the next few days if that's OK.
Awesome =)
I'm nothingmuch on #perl-qa if you'd like to poke
--
ariable,
and the variable replaces the subexpression. The variables live
outside the new closure, which closes over them. The subexpressions
are also deparsed individually.
Then on failure the subexpression variable hash thingy could just be
dumped.
Thoughts?
--
Yuval Kogman
this should work:
sub list_ctx { return wantarray }
( list_ctx ? @{ $deparsed{blah} = [ $subexpr ] } : $deparsed{blah} =
$subexpr } )
but only as an rvalue (assigning to an ? : where one subexpr is
listy and other is scalary is a compile time error IIRC).
--
Yuval Kogman <[EMAIL PROTECTED]>
http://nothingmuch.woobling.org 0xEBD27418
pgp9p9hcxG80O.pgp
Description: PGP signature
59 matches
Mail list logo