Å×½ºÆ® :: MOCK :: LWP.

Å×½ºÆ® :: MOCH :: LWP´Â LWP ÆÐÅ°Áö¸¦ ½±°Ô Á¶·ÕÇÏ´Â Perl ¸ðµâÀÔ´Ï´Ù.
Áö±Ý ´Ù¿î·Îµå

Å×½ºÆ® :: MOCK :: LWP. ¼øÀ§ ¹× ¿ä¾à

±¤°í

  • Rating:
  • ƯÇã:
  • Perl Artistic License
  • °¡°Ý:
  • FREE
  • °Ô½ÃÀÚ À̸§:
  • Luke Closs
  • °Ô½ÃÀÚ À¥»çÀÌÆ®:
  • http://search.cpan.org/~lukec/Test-Mock-LWP-0.05/lib/Test/Mock/LWP.pm

Å×½ºÆ® :: MOCK :: LWP. ű×


Å×½ºÆ® :: MOCK :: LWP. ¼³¸í

Test :: Mock :: LWP´Â LWP ÆÐÅ°Áö¸¦ ½±°Ô Á¶·ÕÇÏ´Â Perl ¸ðµâÀÔ´Ï´Ù. Å×½ºÆ® :: MOCK :: LWP´Â LWP ÆÐÅ°Áö¸¦ ½±°Ô Á¶·ÕÇÏ´Â Perl ¸ðµâÀÔ´Ï´Ù. Å×½ºÆ®¸¦ ½±°ÔÇϱâ À§ÇØ ¼­½ÃÁò LWP ÆÐÅ°Áö°¡ ÀÖ½À´Ï´Ù. Å×½ºÆ®¸¦ »ç¿ëÇϽʽÿÀ :: mock :: lwp; # °¡Â¥ ÀÀ´ä ÄÜÅÙÃ÷ ¹× ÄÚµå $ MOCK_RESPONSE-> MOCK (CONTUME => SUB { 'foo'}); $ mock_resp-> mock (code => sub {201}); # validate args request to equest_deeply $ mock_request-> new_args, @expected_args; # is_deeply , ¸¦ È®ÀÎÇϽʽÿÀ. # Ưº°ÇÑ »ç¿ëÀÚ ¿¡ÀÌÀüÆ® µ¿ÀÛ $ MOCK_UA-> MOCK (¿äû => SUB {DIE "Foo '});ÀÌ ÆÐÅ°Áö´Â ÀÛ¼ºÇÑ ¿©·¯ ¸ðµâ¿¡¼­ LWP et alÀ» ¸ðÀÇ¿Í µ¿ÀÏÇÑ Äڵ带 º¹Á¦ÇÏ´Â °Í¿¡¼­ ¹ß»ýÇÕ´Ï´Ù. ÀÌ ¹öÀüÀº ¸Å¿ì ¹Ì¹ÌÇÏÁö¸¸ Áö±Ý±îÁöÀÇ ³» Çʿ並 À§ÇØ ÀÛµ¿ÇÕ´Ï´Ù. ³ª´Â »õ·Î¿î Á¦¾È°ú °³¼±¿¡ ¸Å¿ì ¿­·Á ÀÖ½À´Ï´Ù. ¿ä±¸ »çÇ× : ¡¤ Perl.


Å×½ºÆ® :: MOCK :: LWP. °ü·Ã ¼ÒÇÁÆ®¿þ¾î

www :: ProxyChecker.

www :: ProxyChecker´Â ÇÁ·Ï½Ã ¼­¹ö°¡ »ì¾Æ ÀÖ´ÂÁö ¿©ºÎ¸¦ È®ÀÎÇÏ´Â µ¥ »ç¿ëÇÒ ¼öÀÖ´Â Perl ¸ðµâÀÔ´Ï´Ù. ...

246

´Ù¿î·Îµå