Re: Object Introspection for Existence of Methods: How?

2015-03-23 Thread Tom Browder
On Mon, Mar 23, 2015 at 7:04 AM, Tom Browder tom.brow...@gmail.com wrote: From your and Henk's comments, I think I need to learn a lot more about testing in general. Any recommendations for books on the subject? -Tom

Re: Object Introspection for Existence of Methods: How?

2015-03-23 Thread Tom Browder
On Mar 23, 2015 3:19 AM, Moritz Lenz mor...@faui2k3.org wrote: That said, I wonder why tests need introspection at all. I mean, you test by doing example calls and comparing to expected example return values. No argument from me. I am at the point of trying to replicate, in Perl 6, somene

Re: Object Introspection for Existence of Methods: How?

2015-03-23 Thread Elizabeth Mattijsen
On 23 Mar 2015, at 14:11, Tom Browder tom.brow...@gmail.com wrote: On Mon, Mar 23, 2015 at 7:04 AM, Tom Browder tom.brow...@gmail.com wrote: From your and Henk's comments, I think I need to learn a lot more about testing in general. Any recommendations for books on the subject? Perl Testing

Re: Object Introspection for Existence of Methods: How?

2015-03-23 Thread Tom Browder
On Mon, Mar 23, 2015 at 10:41 AM, Elizabeth Mattijsen l...@dijkmat.nl wrote: On 23 Mar 2015, at 14:11, Tom Browder tom.brow...@gmail.com wrote: Any recommendations for books on the subject? Perl Testing - A Developer’s notebook: Thanks, Liz--getting it! -Tom

Re: Object Introspection for Existence of Methods: How?

2015-03-23 Thread Bruce Gray
On Mar 23, 2015, at 8:11 AM, Tom Browder tom.brow...@gmail.com wrote: On Mon, Mar 23, 2015 at 7:04 AM, Tom Browder tom.brow...@gmail.com wrote: From your and Henk's comments, I think I need to learn a lot more about testing in general. Any recommendations for books on the subject? -Tom

Re: Object Introspection for Existence of Methods: How?

2015-03-23 Thread B. Estrade
As good as this book is, it's still Perl 5 specific. So watch out if you're coming from Perl 5 land and Heaven forbid you're looking to do traditional things, you might get scolded for asking a reasonable question. o_O. Brett On Mon, Mar 23, 2015 at 10:41 AM, Elizabeth Mattijsen l...@dijkmat.nl

Re: Object Introspection for Existence of Methods: How?

2015-03-23 Thread Moritz Lenz
Hi, On 03/23/2015 01:48 AM, Henk van Oers wrote: On Sun, 22 Mar 2015, Tom Browder wrote: On Sun, Mar 22, 2015 at 7:13 PM, Henk van Oers h...@signature.nl wrote: On Sun, 22 Mar 2015, Tom Browder wrote: I'm trying to write a test. To test what? Your own typo's? The tests are for a public

Re: Object Introspection for Existence of Methods: How?

2015-03-23 Thread Carl Mäsak
(resending to p6u) Tom (), Henk (): That doesn't seem to work with private methods. Any trick to accomplish that? What part of 'private' did you mis? Henk, that's an unnecessarily harsh way to say Private methods are private and not visible or testable outside of the class. In my

Re: Object Introspection for Existence of Methods: How?

2015-03-23 Thread Henk van Oers
[...] From 2005, but still a fantastic primer on testing in Perl. Sorry Tom. I think you must read a book about OO. Unsubscribing from this list now, Regards, Henk

Re: Object Introspection for Existence of Methods: How?

2015-03-23 Thread Tom Browder
On Mon, Mar 23, 2015 at 11:28 AM, B. Estrade estr...@gmail.com wrote: As good as this book is, it's still Perl 5 specific. So watch out if you're coming from Perl 5 land and Heaven forbid you're looking to do traditional things, you might get scolded for asking a reasonable question. o_O.

Re: Object Introspection for Existence of Methods: How?

2015-03-23 Thread Tom Browder
On Mon, Mar 23, 2015 at 9:35 AM, Bruce Gray robertbrucegr...@gmail.com wrote: Any recommendations for books on the subject? http://shop.oreilly.com/product/9780596100926.do Perl Testing: A Developer's Notebook by Ian Langworth and Chromatic From 2005, but still a fantastic

Re: rakudo Test module: expanding tests considered?

2015-03-23 Thread Elizabeth Mattijsen
On 23 Mar 2015, at 23:50, Tom Browder tom.brow...@gmail.com wrote: I have some tests needed for a Perl 5 module I'm trying to translate from Perl 5 to Perl 6 that aren't available yet. Question: Would it be better to submit pull requests for some (or all) for the rakudo Test module or

rakudo Test module: expanding tests considered?

2015-03-23 Thread Tom Browder
I have some tests needed for a Perl 5 module I'm trying to translate from Perl 5 to Perl 6 that aren't available yet. Question: Would it be better to submit pull requests for some (or all) for the rakudo Test module or start creating a new Test::* module? Thanks. Best, -Tom

Re: Object Introspection for Existence of Methods: How?

2015-03-23 Thread Tom Browder
On Mon, Mar 23, 2015 at 5:25 PM, Henk van Oers h...@signature.nl wrote: From 2005, but still a fantastic primer on testing in Perl. Sorry Tom. I think you must read a book about OO. I will go back and review OO, Henk. Thanks. Best, -Tom

[perl #124162] Must parameterize Array of native array when precomp

2015-03-23 Thread Brian S. Julin
# New Ticket Created by Brian S. Julin # Please include the string: [perl #124162] # in the subject line of all future correspondence about this issue. # URL: https://rt.perl.org/Ticket/Display.html?id=124162 Code that runs fine before precomp, breaks when an array of native arrays is used

Re: rakudo Test module: expanding tests considered?

2015-03-23 Thread Tom Browder
On Mon, Mar 23, 2015 at 5:53 PM, Elizabeth Mattijsen l...@dijkmat.nl wrote: On 23 Mar 2015, at 23:50, Tom Browder tom.brow...@gmail.com wrote: Question: Would it be better to submit pull requests for some (or all) for the rakudo Test module or start creating a new Test::* module? Good

[perl #124161] [BUG] failure to bind to pointy block param

2015-03-23 Thread via RT
# New Ticket Created by Justin DeVuyst # Please include the string: [perl #124161] # in the subject line of all future correspondence about this issue. # URL: https://rt.perl.org/Ticket/Display.html?id=124161 Hello, Please see below. -jdv 18:04 jdv79 m: my @a = 1; for @a - $a is rw { $a

[perl6/specs] c340ab: document Hash.antipairs for moritz++

2015-03-23 Thread GitHub
Branch: refs/heads/master Home: https://github.com/perl6/specs Commit: c340ab68ec8caeb1f36db271db1dd398e4d83d3d https://github.com/perl6/specs/commit/c340ab68ec8caeb1f36db271db1dd398e4d83d3d Author: TimToady la...@wall.org Date: 2015-03-23 (Mon, 23 Mar 2015) Changed paths: