Groups | Search | Server Info | Login | Register
| Newsgroups | perl.qa |
|---|---|
| Path | csiph.com!weretis.net!feeder6.news.weretis.net!news.glorb.com!usenet.stanford.edu!nntp.perl.org |
| Xref | csiph.com perl.qa:11 |
| Return-Path | <perl.qa@rjbs.manxome.org> |
| Mailing-List | contact perl-qa-help@perl.org; run by ezmlm |
| Delivered-To | mailing list perl-qa@perl.org |
| Received | (qmail 2894 invoked from network); 18 Dec 2016 14:08:39 -0000 |
| Received | from xx1.develooper.com (207.171.7.115) by x6.develooper.com with SMTP; 18 Dec 2016 14:08:39 -0000 |
| Received | from xx1.develooper.com (xx1.develooper.com [127.0.0.1]) by localhost (Postfix) with SMTP id F3DEA11ED14 for <perlmail-perl-qa@onion.perl.org>; Sun, 18 Dec 2016 06:08:38 -0800 (PST) |
| Received | from sasl.smtp.pobox.com (pb-smtp2.pobox.com [64.147.108.71]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by xx1.develooper.com (Postfix) with ESMTPS id C49DA11F079 for <perl-qa@perl.org>; Sun, 18 Dec 2016 06:08:26 -0800 (PST) |
| Received | from sasl.smtp.pobox.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id A98C44A6AE for <perl-qa@perl.org>; Sun, 18 Dec 2016 09:08:25 -0500 (EST) |
| DKIM-Signature | v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=date:from:to :subject:message-id:mime-version:content-type; s=sasl; bh=loIcFJ 1TRqxp3Z2bXao14NRq8HQ=; b=wbKpjX/uubN82jKfi11WgeXVMUdfI83N+2PSXj HkbUSI/qKA0Zzf1OCOnFe7eW4xKme06LQ1uBxmvdhSIFyTj+wG+X9rpTjgfROSx4 GhS/s5xmnNfggQsm0EOAOIR62hBtb6pATP7wctaZtVv5gQmST6XpfFEPrWdfs5IN ufr1o= |
| Received | from pb-smtp2.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id A1AC74A6AD for <perl-qa@perl.org>; Sun, 18 Dec 2016 09:08:25 -0500 (EST) |
| Received | from carpenter.manxome.org (unknown [45.33.15.108]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp2.pobox.com (Postfix) with ESMTPSA id 39E7F4A6AB for <perl-qa@perl.org>; Sun, 18 Dec 2016 09:08:25 -0500 (EST) |
| Received | by carpenter.manxome.org (Postfix, from userid 1000) id B85C27DA53; Sun, 18 Dec 2016 09:08:23 -0500 (EST) |
| Date | Sun, 18 Dec 2016 09:08:23 -0500 |
| To | perl-qa@perl.org |
| Subject | Test-Deep as_test_deep_cmp branch |
| Message-ID | <20161218140823.GA8199@debian> (permalink) |
| MIME-Version | 1.0 |
| Content-Type | multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LQksG6bCIzRHxTLp" |
| Content-Disposition | inline |
| X-Message-Flag | Warning: Your computer is current broadcasting an IP address. |
| X-Planet | Planet of the Apes |
| User-Agent | Mutt/1.5.23 (2014-03-12) 71105276-C52B-11E6-8D2C-B2917B1B28F4-07314517!pb-smtp2.pobox.com |
| DKIM-Signature | v=1; a=rsa-sha1; c=relaxed; d=rjbs.manxome.org; h=date:from:to:subject:message-id:mime-version:content-type; s=mesmtp; bh=loIcFJ1TRqxp3Z2bXao14NRq8HQ=; b=bov4AHsMgRR/o+Q2XZRIfdsHSrqfvSP+P47M4tYK1cThn9TtHjd9xyM5cVX+M8d3eBuo1t+hojZe+9grAy8YaE9iaaeAZJ6cTRtINDMlLGcoU8pGwGGq/T9HnZlLdsaDsdPsD5EG5YiQeaNwDuS0r9pPtYexfdggm9PYWYJHx7E= |
| X-PMX-Version | 5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2016.12.18.140016 |
| X-PMX-Spam | Gauge=IIIIIIII, Probability=8%, Report=' HTML_00_01 0.05, HTML_00_10 0.05, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_1800_1899 0, BODY_SIZE_2000_LESS 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, DATE_TZ_NA 0, DKIM_SIGNATURE 0, INVALID_MSGID_NO_FQDN 0, SPF_NONE 0, __ANY_URI 0, __ATTACHMENT_SIZE_0_10K 0, __CD 0, __CP_URI_IN_BODY 0, __CT 0, __CTYPE_HAS_BOUNDARY 0, __CTYPE_MULTIPART 0, __FRAUD_MONEY_CURRENCY 0, __FRAUD_MONEY_CURRENCY_DOLLAR 0, __HAS_ATTACHMENT 0, __HAS_ATTACHMENT1 0, __HAS_ATTACHMENT2 0, __HAS_FROM 0, __HAS_MSGID 0, __HTTPS_URI 0, __MIME_TEXT_P 0, __MIME_TEXT_P1 0, __MIME_TEXT_P2 0, __MIME_VERSION 0, __MULTIPLE_URI_TEXT 0, __NO_HTML_TAG_RAW 0, __SANE_MSGID 0, __SUBJ_ALPHA_END 0, __TO_MALFORMED_2 0, __TO_NO_NAME 0, __URI_IN_BODY 0, __URI_NO_MAILTO 0, __URI_NO_WWW 0, __URI_NS , __URI_WITH_PATH 0, __USER_AGENT 0, __blackholes.mail-abuse.org_TIMEOUT , __zen.spamhaus.org_ERROR ' |
| Approved | news@nntp.perl.org |
| From | perl.qa@rjbs.manxome.org (Ricardo Signes) |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
I've filed a PR against Test-Deep: https://github.com/rjbs/Test-Deep/pull/52 addresses https://github.com/rjbs/Test-Deep/issues/50 The idea is: When you call cmp_deeply($have, $want), objects found in $want are either Test::Deep::Cmp objects or not. If they are, they do their special test magic. If they are not, they are more or less compared to the data in $have without respect to blessing. For example, a blessed hashref in $want is compared to the matching data in $have for keys and values. With my changes, objects in $want are checked for a as_test_deep_cmp method, which can be called to return a Test::Deep::Cmp to be used instead of the object. I expect this to be rarely, but sometimes, useful. Issue #50 goes into the details of why it came up. In that, I mention using this with JSON::Typist/Test::Deep::JType. I have implemented the described feature at https://github.com/rjbs/JSON-Typist/pull/2 I'm interested in any thoughts on this before I make a trial release. -- rjbs
Back to perl.qa | Previous | Next — Next in thread | Find similar
Test-Deep as_test_deep_cmp branch perl.qa@rjbs.manxome.org (Ricardo Signes) - 2016-12-18 09:08 -0500 Re: Test-Deep as_test_deep_cmp branch perl.qa@rjbs.manxome.org (Ricardo Signes) - 2016-12-27 08:50 -0500
csiph-web