Pretty object diff generator for Perl5
I wrote a new CPAN module named Data::Difflet. It's inspired from difflet
Data::Difflet makes colorful diff like difflet.
This is a example implementation using Data::Difflet.
use strict; use warnings; use Test::More; use Test::Difflet qw/is_deeply/; is_deeply( { "foo" => [ 1, 2, 3 ] }, { "foo" => [ 4, 2, 3 ] } ); done_testing;
This is a result of test output.
So, this module is highly useful for testing with complex data structure like Web APIs.
Enjoy!
ネスカフェ ゴールドブレンド エコ&システムパック 120g
- 出版社/メーカー: ネスレ日本
- メディア: 食品&飲料
- 購入: 10人 クリック: 20回
- この商品を含むブログ (2件) を見る