hash => {
field structure_id => match qr{^ (? STRUCT
\d+ ) $}x;
field type => 'dolmen',
field material => 'concrete',
}
}
--
Andy Lester => www.petdance.com
first argument (and in $_) and the sub should return
a boolean value.”) would be good, too.
I’d be glad to write the docs if I knew the answers to the questions and the
zen of what to use when.
As a newbie to Test2, I’d really like to start using it as much as possible,
but I’m also afraid of screwing up existing tests because I use a new tool
incorrectly.
Andy
--
Andy Lester => www.petdance.com
docs that explains the differences between the two.
Anyone else have troubles with these two functions? Or other gotchas where new
features aren’t what people switching from Test::More might expect?
Andy
--
Andy Lester => www.petdance.com
I don’t like the name bool_eq() (“booleans are equal”) but it was the best I
could come up with.
--
Andy Lester => www.petdance.com
t2::Suite. I think that will
help future Test2::Tools writers.
So those are my high-level thoughts.
--
Andy Lester => www.petdance.com
rd party module.
--
Andy Lester => www.petdance.com
er?
Do we have an FAQ started for things like this? If not, I assume it would be
good to start one, and if so, then where should I start it?
--
Andy Lester => www.petdance.com
On Feb 28, 2013, at 10:26 AM, Mark Stosberg wrote:
> I'd like to have a Mechanize that has both the testing functions, and
> also JavaScript support, which the WWW::Scripter sub-class has.
Seems to me even better would be to fold WWW::Scripter's JS support into Mech
itsel
nch of wrappers and some convenience functions.
--
Andy Lester => a...@petdance.com => www.petdance.com => AIM:petdance
eally seeing your point.
There was no point. I wasn't debating. It was a question, asking for
information.
xoa
--
Andy Lester => a...@petdance.com => www.petdance.com => AIM:petdance
On Jan 18, 2013, at 5:08 AM, Mark Keating wrote:
> The hackathon site is up, we are looking for sponsors and attendees.
What made you put it up at a new domain, rather than qa.perl.org? I was
surprised.
xoa
--
Andy Lester => a...@petdance.com => www.petdance.com => AIM:petdance
oking for Test::Output.
http://search.cpan.org/dist/Test-Output/
xoxo,
Andy
--
Andy Lester => a...@petdance.com => www.petdance.com => AIM:petdance
top energy intended. I just wanted to provide a counter
viewpoint from a potential customer.
I don't want to have another module prereq. I'd probably just do the cut &
paste into my t/00-load.t.
Carry on!
xoa
--
Andy Lester => a...@petdance.com => www.petdance.com => AIM:petdance
not installed permanently on their system.
test_requires is Module::Build only, right? I don't use Module::Build.
Even if I did, I don't think I'd require the user to go through a download and
temporary build of AutoBailout.pm just to remove boilerplate.
xoa
--
Andy Lester
As a module author, I would not require a user to install AutoBailout.pm just
to remove boilerplate in my t/00-load.t
But that's just me.
xoa
--
Andy Lester => a...@petdance.com => www.petdance.com => AIM:petdance
::Next::VERSION,
Perl $], $^X" );
it sounds like we're saying that the use_ok() doesn't help at all, and I might
as well write
use App::Ack;
use App::Ack::Repository;
use App::Ack::Resource;
use File::Next;
diag( "Testing App::Ack $App::Ack::VERSION, File::Next $File::Next::VERSION,
Perl $], $^X" );
Agreed?
xoa
--
Andy Lester => a...@petdance.com => www.petdance.com => AIM:petdance
> --
> ROCKS FALL! EVERYONE DIES!
> http://www.somethingpositive.net/sp05032002.shtml
>
I think we've found our correct non-loading module behavior right there.
xoa
--
Andy Lester => a...@petdance.com => www.petdance.com => AIM:petdance
So is there ANY legit use for use_ok()?
xoa
--
Andy Lester => a...@petdance.com => www.petdance.com => AIM:petdance
) ought to die if it fails. But then we might as well not
wrap our use in use_ok().
Is there a case when we DO want to use use_ok()?
xoa
--
Andy Lester => a...@petdance.com => www.petdance.com => AIM:petdance
On Apr 6, 2012, at 7:46 PM, James E Keenan wrote:
> Could someone post a summary of what was done/not done at this year's QA
> hackathon in Paris (http://2012.qa-hackathon.org/qa2012)?
I've posted a couple of links on @perlbuzz already.
xoa
--
Andy Lester =>
d, then lets do that,
rather than saying to "just" do this workaround. If we always took that
approach, then we would never have prove in the first place.
xoxo,
Andy
--
Andy Lester => a...@petdance.com => www.petdance.com => AIM:petdance
they could go live.
xoxo,
Andy
--
Andy Lester => a...@petdance.com => www.theworkinggeek.com => AIM:petdance
ack 2.0.
xoxo,
Andy
--
Andy Lester => a...@petdance.com => www.theworkinggeek.com => AIM:petdance
This whole SourceHandler looks much more like the Right Way To Do It.
I wish Mr. Armstrong were around for discussion.
xoxo,
Andy
--
Andy Lester => a...@petdance.com => www.theworkinggeek.com => AIM:petdance
ing because now we're passing around an array
ref. But I'm working on the guts to handle it all.
My concern was not about handling command line arguments, but about all the
internals, and what I might break that is some sort of defined API that I don't
know about.
xoa
-
hat to Andy A. and Steve
> P.).
I've got a dispatch script that runs either .t under perl or .phpt under PHP.
Basically I've been running:
prove --exec='/home/alester/smoke/bin/smoke-dispatch' --ext=.t
and it's been just fine. It just never gets called
27;t want to make this a CYJ.
> But then you'll need to write a PHP handler. Brief intro:
>
>
> http://www.justatheory.com/computers/programming/perl/tap-parser-sourcehandler.html
And that's fine, I don't mind doing that. I wrote a Test::Harness::PHP for the
old 2.x one.
But yeah, if this is just a matter of 'ext=s+', then who can make that change
and push it out?
xoa
--
Andy Lester => a...@petdance.com => www.theworkinggeek.com => AIM:petdance
On Jul 15, 2010, at 11:26 AM, Matt Heusser wrote:
> Is there a way to do prove -dont-actualy-execute-anything-just-input --file
> pregeneratedTAPinput.txt
>
> ?
>
> I just want the summary features.
prove --exec=/bin/cat tap.txt
--
Andy Lester => a...@petdance.com =>
fold back,
but this feature missing makes those I'd convert to prove very sad.
xoxo,
Andy
--
Andy Lester => a...@petdance.com => www.theworkinggeek.com => AIM:petdance
ong.
Now requires Test::LongString 0.12.
t/put_ok.t now passes, but with a handful of warnings. Help in figuring
out why would be appreciated.
[INTERNALS]
Hoisted common code out of get_ok, post_ok, etc.
[DOCUMENTATION]
Updated copyright and licensing information.
--
Andy Lester =&
front if
done_testing() replaced no_plan or worked with it.
xoa
--
Andy Lester => a...@petdance.com => www.theworkinggeek.com => AIM:petdance
Result: FAIL
"Looks like you failed 1 test of 2 run". I guess that it's counting
done_testing() as a test in itself, but that doesn't seem to be
right. Is that intentional?
xoxo,
Andy
--
Andy Lester => a...@petdance.com => www.theworkinggeek.com => AIM:petdance
-
Softpedia - the encyclopedia of free software downloads
http://www.softpedia.com/
--
Andy Lester => a...@petdance.com => www.theworkinggeek.com => AIM:petdance
to be "no, there's nothing that is general
purpose enough for what you want." Maybe something like CruiseControl
will do it, I don't know.
xoxo,
Andy
--
Andy Lester => a...@petdance.com => www.theworkinggeek.com => AIM:petdance
d the two.
xoxo,
Andy
--
Andy Lester => a...@petdance.com => www.petdance.com => AIM:petdance
and kisses,
Andy
--
Andy Lester => a...@petdance.com => www.petdance.com => AIM:petdance
ear path to the differing
item
- Has multiple output modes: YAML, msbuild-friendly, terse
- Supports testing of "internal" classes and methods
The project home is at http://code.google.com/p/taps-testing.
>>
Thanks in advance and thanks for your time.
--
cheers, Frank van
On Feb 19, 2009, at 2:24 PM, Michael G Schwern wrote:
Andy Lester wrote:
Second point: Should tests 3 and 6 pass? Being unnumbered?
Yes, that's by design (or at least happy historical accident).
But "ok 0" should certainly fail, right?
xoa
--
Andy Lester =>
ok 9
ok 10
ok 11
The test number is 0, and yet, it passes as well.
I ask all of this because we have what should be failing tests in
Rakudo that are passing because of what seems to me TAP that should
fail.
xoxo,
Andy
--
Andy Lester => a...@petdance.com => www.petdance.com => AIM:petdance
On Jan 22, 2009, at 11:23 PM, David E. Wheeler wrote:
people see Perl 6 as an opportunity to rethink things.
Except that Perl 6 isn't changing TAP.
--
Andy Lester => a...@petdance.com => www.petdance.com => AIM:petdance
exaggerating. The horse is dead.
Also, Hitler.
xoxo,
Andy
--
Andy Lester => a...@petdance.com => www.petdance.com => AIM:petdance
ny others do as well.
Perhaps I'm being unclear. I do not find either 'no_plan' or 'plan'
to
be useful in their current state.
Yes, but many others do.
--
Andy Lester => a...@petdance.com => www.petdance.com => AIM:petdance
ting that many people use and rely
on.
xoa
--
Andy Lester => a...@petdance.com => www.petdance.com => AIM:petdance
The daily email is fantastic. So much easier to read, to see what is
good and what isn't, and to ignore what I don't care about (Yes, I
know I can turn off specific platforms and distros too)
Thanks very much to all of you.
xoxo,
Andy
--
Andy Lester => [EM
e. Oh well. :-/
To you it's the side note. To me, and others, it is the key issue.
Flailing attempts at fixing Kwalitee are not worth alienating current
and future contributors.
--
Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance
ests.
Again, Salve, please understand that the vast majority of humans do
not divorce their feelings from their work, as much as you may see
that as a "problem."
--
Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance
n seeing
his or her module on the list, is going to go and modify the
distribution? The chances of that are miniscule * tiny.
Most of all, what problem are you trying to solve? I suggest that low-
Kwalitee modules on the CPAN pose no problem whatsoever.
xoa
--
Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance
se metrics, please file a bug report.)
Oh, come on Eric, I'm proud of TP (which is really brian's) and TPC!
/me goes to cry.
Tito, hand me a tissue.
xoxo,
Andy
--
Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance
ith someone who is an unpaid
volunteer, working on his projects and contributing to the CPAN, and
you'll get that horse to walk away and go somewhere else, or just not
bother uploading code.
xoxo,
Andy
--
Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance
t a way to encourage volunteers to work on
projects.
--
Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance
;
Really, does anyone think these ideas through?
--
Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance
.org/highscores/hall_of_shame
A beautiful point, sir.
I kiss you!
--
Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance
re watching your code, and if you'd like
to follow our monitoring of your code, go here, and if you want
messages all the time, you can do such-and-such."
--
Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance
On Sep 5, 2008, at 8:15 PM, Eric Wilhelm wrote:
You know, a "hello" that doesn't start with "FAIL!"
Yes, beautiful. We need to remember that not everyone is a grizzled
veteran.
--
Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance
ere.
What they do need permission to do is send me the mass mail, and
fortunately that's what's going to happen.
--
Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance
On Sep 5, 2008, at 1:36 PM, David Golden wrote:
I will be changing Test::Reporter to stop all author CC'ing which will
take effect when/if we convince existing testers to upgrade.
Thank you, sir.
--
Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance
--
Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance
ch certain criteria or else we will send you mass email
about it"?
Am I the only one looking at this from the point of view of others?
xoa
--
Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance
different opinions?
--
Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance
we're not preventing people from uploading anything, but we're
punishing them for not bending to the whims of the CPAN Testers ideals.
xoa
--
Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance
There is far too much bile floating in this thread considering that I
> believe we all have a shared interest in the quality of our code.
That "quality" slider is long and multidirectional.
xoa
--
Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance
> I'd hate to lose those in my email because other people don't want to
> filter their mail.
I'd hate to get spammed because other people don't want to sign up to
receive them.
xoa
--
Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance
l their friends and they tell their
friends, and passing a certain batter of CPAN Testers tests
consistently is a badge of honor.
I want the Ruby guys go "holy shit, I wish we had something like that."
xoxo,
Andy
--
Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance
what we're
doing and dammit, you should like it!"
It is a problem of attitude. Who is serving who? Who is the customer?
xoxo,
Andy
--
Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance
Perl version 5.6.1," we're told how
full of shit we are.
Why should I release my software on CPAN if part of the price of entry
is being spammed and told what I should be doing?
Why is the personal side of this being entirely missed? We are not
robots here. We are humans.
xoxo,
Andy
--
Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance
saying "I would like
it if..."
--
Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance
s job. A fail is something
that
should be fixed, period, regardless of the number of them.
According to who? Who's to say what my job as an author is?
--
Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance
me as reaching out to the base of users and authors
about what CPAN Testers should be, to find out if it's useful.
Certainly when I've said I find certain aspects of it unuseful I've
been told I was wrong.
xoa
--
Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance
modules are the best in that, and these 10 are the
worst. THAT would be something.
xoxo,
Andy
--
Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance
On Sep 2, 2008, at 3:41 PM, David Cantrell wrote:
Can the cpan-testers please get a dedicated list that is not perl-qa?
It's called [EMAIL PROTECTED]
That's great. So can this all be taken over there, please?
Thanks,
Andy
--
Andy Lester => [EMAIL PROTECTED] =>
Can the cpan-testers please get a dedicated list that is not perl-qa?
It's frustrating that so much of the perl-qa traffic is about CPAN
Testers, a project that I'm not particularly interested in because
they are not at all interested in me.
Thanks,
xoxo,
Andy
--
Andy Lester
On Sep 2, 2008, at 2:55 PM, David Cantrell wrote:
Helpful hint: there's a difference between getting your name listed on
an obscure web page and a reward.
A reward would be something like a bar of chocolate, or a pay rise.
Depends on who you are.
xoa
--
Andy Lester => [EMAIL P
On Aug 21, 2008, at 4:36 AM, Ovid wrote:
Why? If we want other extensions, stripping them is probably bad.
We definitely want other extensions. I have a pending project that
relies on running .t and .phpt next to each other.
xoa
--
Andy Lester => [EMAIL PROTECTED] => www.petdan
diag.
xoxo,
Andy
--
Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance
of my great "I
want to use Perl stuff to test my PHP code" push a few years ago.
xoxo,
Andy
--
Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance
t I've been
seeing.
Lovely. Let me know if I can help. (I had lunch with Brian Aker
today; he
wanted some independent review from someone from a very different
but similar
world.)
Review of what? The plan to TAPify it?
xoa
--
Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance
then they get diffed. No granularity.
I'm going to convert them to emit TAP, so we can use Test::Harness and
other standard tools to analyze the results.
The colonization continues.
xoxo,
Andy
--
Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance
more interested in human commentary.
Counts of who uses a given product puts the Britney Spears as the
highest quality musical artist.
--
Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance
Note that nowhere in here does the word "user" appear.
xoxo,
Andy
--
Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance
on that so that I am prepped for OSCON BOFing
on it.
--
Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance
s have installed the dist (e.g. a hook in the
cpan client or a nightly/weekly crawl of @INC.)
As an aside, all of this is what we're talking about over on
rethinking-cpan.
xoxo,
Andy
--
Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance
d) is more relevant than someone who
doesn't?
Our little echo chamber is not some hallowed hall that indicates
programming wisdom.
xoa
--
Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance
swell? If CPANTS let us create profiles so we
could say "I care about this, I don't care about that." To me, the re
'taint' data point is a pretty cool idea, but that's just 'cause I
love taint.
--
Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance
oorly tested logic, essentially stopped development a long time
ago because to quote the founder, Ivan Moore, in a comment to me "so
few sites are into unit testing enough to care about perfecting their
tests."
Maybe he can't look beyond Java?
xoa
--
Andy Lester
e, to discuss.
http://groups.google.com/group/rethinking-cpan
I welcome your thoughts, discussions, and ideas.
Thanks,
xoxo,
Andy
--
Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance
ce-to-cpan.html
xoxo,
Andy
--
Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance
mately, I think this is where all "how do we make CPAN easier to
use" discussions are leading. The focus needs to change from the
tactical ("Let's have reviews") to the strategic ("How do we get the
proper modules/solutions in the hands of the users that want them.")
--
Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance
cpanreviews.shlomi.com could be will help others visualize what you're
discussing. $picture == @words[0..999].
I think it's far more useful to talk about these human issues first.
The technical answers will fall out of the requirements that get
created.
xoxo,
Andy
--
Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance
Some interesting ideas for how the Ruby folks are now doing their unit
testing.
http://www.oreillynet.com/ruby/blog/2008/02/assert2.html
xoxo,
Andy
--
Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance
http://log.perl.org/2008/02/no-more-email-d.html
Well I guess that settles that. :)
xoxo,
Andy
--
Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance
7;baz';
or
use Foo::Bar qw( baz quux );
My regex will miss those latter two. Mr. Armstrong's regex is safer.
xoxo,
Andy
--
Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance
On Feb 7, 2008, at 8:28 PM, Andy Armstrong wrote:
ack -h '^use\s+\w+' | perl -pe 's/^use\s+(\w+(?:::\w+)*).*/$1/' |
sort -u
Great minds think alike, except that you don't need to be doing that
Perl stuff. The --output flag for ack is your friend.
--
Andy L
-h '^use\s+(\S+);' --output=$1 || sort -u
--
Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance
A cautionary tale of why we must be very careful doing tests against
live systems.
http://thedailywtf.com/Articles/Ive-Got-The-Monkey-Now.aspx
--
Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance
My personal favorite... rats!
http://www.apopo.org/
No discussion of minesweeping may omit Minesweeper: The Movie.
http://www.collegehumor.com/video:1770138
--
Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance
someone's module is
likely to be seen as insulting, if not by the person who you're
responding to, then by someone watching thinking "Hmmm, maybe I won't
released my work publicly 'cause I don't want someone saying 'yuck' to
my work."
I apologize
.
I think this wins the Least Helpful Response To Someone Who Has
Provided A New Module For Everyone To Use. Bravo!
--
Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance
, and we're
still working on making a monolithic prove.
--
Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance
or me.
My plan is to record the order in which the tests were most recently
run and to be able to use that as the order this time too. That OK?
Yes, thank you.
--
Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance
t like the idea of basing it on a given
seed. I want to be able to know state about the tests that have run,
the order they were in, etc, without having to go through prove to
generate the sequence for me.
--
Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance
1 - 100 of 469 matches
Mail list logo