| SauceLabsFixture. SauceLabsÀÇ ¼ºñ½º·Î ÀÛ¾÷ÇϱâÀ§ÇÑ °íÁ¤±¸ |
Áö±Ý ´Ù¿î·Îµå |
SauceLabsFixture. ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- Other/Proprietary Li...
- °Ô½ÃÀÚ À̸§:
- Gavin Panella
SauceLabsFixture. ű×
SauceLabsFixture. ¼³¸í
SauceLabsFixture´Â SauceLabsÀÇ ¼ºñ½º·Î ÀÛ¾÷ÇϱâÀ§ÇÑ ÆÄÀ̽㠰íÁ¤±¸ÀÔ´Ï´Ù. ÀÚ¼¼ÇÑ Á¤º¸´Â ·±Ä¡ Æеå ÇÁ·ÎÁ§Æ® ÆäÀÌÁö¸¦ ÂüÁ¶ÇϽʽÿÀ. ´Ù¸¥ Á¶¸í±â¿Í ¸¶Âù°¡Áö·Î ½ÃÀ۵˴ϴÙ. SauceConnectFixture, SauceConnectFixture, SauceDemandFixture, SauceDemandFixture,) ±â´É = {...} def test_something (self) : connect = self.usefixture (sauceConnectFixture ()) on_demand = sauceondemandfixture (capplieslilities, connect.control_url) self.usefixture (on_demand) driver = on_demand.driver ... ÀÚ°Ý Áõ¸íÀ» »ç¿ëÇÏ¿© ¿¬°á ¼ºñ½º¸¦ ½ÃÀÛÇÕ´Ï´Ù (¾Æ·¡ ÂüÁ¶). ¶ÇÇÑ Sauce-Connect.jar°¡ ¾ÆÁ÷ »ç¿ë °¡´ÉÇÏÁö ¾ÊÀº °æ¿ì ´Ù¿î·Îµå ÇÒ °ÍÀÔ´Ï´Ù. µå¶óÀ̹ö´Â ¿¬°á ¼ºñ½º°¡ Á¦°øÇÏ´Â º¸¾È ÅͳÎÀ» ÅëÇØ Ä¿¸Çµå¸¦ Àü¼ÛÇϵµ·Ï ¼³Á¤µË´Ï´Ù. ¿¬°á ¼ºñ½ºÀÇ Connect ServiceCredentials¿¡ ´ëÇÑ Clredentials°¡ SauceConnectFixture »ý¼ºÀÚ·Î Àü´Þ µÉ ¼ö ÀÖÁö¸¸ ±×·¸Áö ¾ÊÀ¸¸é Ȩ µð·ºÅ丮ÀÇ ÆÄÀÏ¿¡ ³ÖÀ» ¼ö ÀÖ½À´Ï´Ù. mkdir -p ~ / .saucleabs / connect ~ ~ / .saucleabs / connect / credentials chmod go-rwx ~ / .saucleabs / connect / cressenties echo "$ username $ api_key"> ~ / .sauceLabs / connect / credentialsproductÀÇ È¨ÆäÀÌÁö
SauceLabsFixture. °ü·Ã ¼ÒÇÁÆ®¿þ¾î