On Mar 16, 2005, at 1:51 PM, Nathan Gray wrote:
I can try using the subroutines that are provided right now, which
brings me to the point of this post originally: I have seen systems
which log test output (test description, type of failure, expected
value, actual value) to a file. I find this type
On Wed, Mar 16, 2005 at 08:32:48AM -0500, Stevan Little wrote:
>
> On Mar 15, 2005, at 1:23 PM, Nathan Gray wrote:
> >Is there a place for Test.pm from perl5 in the perl6 world? That's the
> >one I want to use.
>
> You are certainly free to write it, and I think it would be a great
> exercise i
On Mar 15, 2005, at 1:23 PM, Nathan Gray wrote:
Is there a place for Test.pm from perl5 in the perl6 world? That's the
one I want to use.
You are certainly free to write it, and I think it would be a great
exercise in multi-subs to do so. However the name Test.pm has already
been taken. But I wo
Is there a place for Test.pm from perl5 in the perl6 world? That's the
one I want to use.
-kolibrie
On Mar 15, 2005, at 10:53 AM, Nathan Gray wrote:
On Tue, Mar 15, 2005 at 08:27:32AM -0500, Stevan Little wrote:
On Mar 15, 2005, at 6:45 AM, Nathan Gray wrote:
I also think it would be very nice to be able to use other operators,
such as gt, lt, or isa.
is($got, $expected, $desc, operator => 'gt')
On Tue, Mar 15, 2005 at 08:27:32AM -0500, Stevan Little wrote:
> On Mar 15, 2005, at 6:45 AM, Nathan Gray wrote:
> >I also think it would be very nice to be able to use other operators,
> >such as gt, lt, or isa.
> >
> > is($got, $expected, $desc, operator => 'gt');
>
> Personally, I think a more
Stevan Little writes:
> So if I understand you correctly, then the implementation code would
> look something like this right?
>
> sub cmp_ok (Str $got, Code $comparison_func, Str $expected, Str ?$desc)
> returns Bool is export {
> my $test := $comparison_func($got, $expected);
> ...
On Mar 15, 2005, at 10:32 AM, Luke Palmer wrote:
Stevan Little writes:
On Mar 15, 2005, at 6:45 AM, Nathan Gray wrote:
I think it would be really nice for failed, todo, and skipped tests
to
log their $expected and $got values, with any $desc or $context
information to a log file (probably test.log
Stevan Little writes:
>
> On Mar 15, 2005, at 6:45 AM, Nathan Gray wrote:
>
> >I think it would be really nice for failed, todo, and skipped tests to
> >log their $expected and $got values, with any $desc or $context
> >information to a log file (probably test.log).
> >
> >I also think it would b
On Mar 15, 2005, at 6:45 AM, Nathan Gray wrote:
I think it would be really nice for failed, todo, and skipped tests to
log their $expected and $got values, with any $desc or $context
information to a log file (probably test.log).
I also think it would be very nice to be able to use other operators,
10 matches
Mail list logo