Çöó½ºÅ© Á¨ ¼øÀ§ ¹× ¿ä¾à
- °Ô½ÃÀÚ À̸§:
- Noah Kantrowitz
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://trac-hacks.org/
Çöó½ºÅ© Á¨ ű×
Çöó½ºÅ© Á¨ ¼³¸í
Çöó½ºÅ© ½ºÅ©¸³Æ® pyzen°ú ÅëÇÕÇÏ´Â ¸í·É Flask-ZenÀº Çöó½ºÅ© ½ºÅ©¸³Æ® ¸í·ÉÀ» ÅëÇØ PyzenÀ» »ç¿ëÇÒ ¼öÀÖ´Â Çöó½ºÅ© È®ÀåÀÔ´Ï´Ù. °£´ÜÇÑ Å×½ºÆ® ·¯³Ê ¸í·É°ú Ç¥ÁØ Pyzen ÀÚµ¿ ·¯³Ê°¡ ¸ðµÎ Á¦°øµË´Ï´Ù. Pypi¿¡¼ Easy_install ¶Ç´Â PIP·Î PYPIÀÇ ¿ä±¸ »çÇ×À» ¼³Ä¡Çϰųª ´ÙÀ½ ¸í·É Áß Çϳª¸¦ »ç¿ëÇÏ¿© È®ÀåÀÚ¸¦ ¼³Ä¡ÇÒ ¼ö ÀÖ½À´Ï´Ù. easy_install flask-zenor option option pip ¼³Ä¡ flask-zenconfigurationpyzenÀº µÎ °³ÀÇ flask-script ¸í·ÉÀ» ³ëÃâÇÕ´Ï´Ù. Å×½ºÆ® ¹× Zentest. µÑ ´Ù ±¸¼ºÇÏ·Á¸é ´ÙÀ½À» ¼öÇàÇϽʽÿÀ. flaskext.script import managerfrom flaskext.zen import test, zentestmanager = manager.add_command ( 'test', test (test ', test) manager.add_command ('zen ', zentest ()) manager.add_command ('zen ', zentest ()) __name__ == '__main__': manager.run () ¾Æ·¡ÀÇ ¸í·É Çà ¿É¼Ç Áß Çϳª´Â Å×½ºÆ® ¶Ç´Â zentest »ý¼ºÀÚ¿¡ ´ëÇÑ Å°¿öµå Àμö¸¦ »ç¿ëÇÏ¿© ÀçÁ¤ÀÇ ÇÒ ¼ö ÀÖ½À´Ï´Ù. manager.add_command ( 'zen', zentest (nocolor = true, ui = 'none' )) Usagethe Test ¸í·ÉÀº ´ÜÀÏ Å×½ºÆ® ½ÇÇàÀ» ½ÇÇàÇÏ°í Á¾·áÇÕ´Ï´Ù. zentest ¸í·ÉÀº ÀϹÝÀûÀÎ pyzen continuous tester¸¦ ½ÇÇàÇÕ´Ï´Ù.-s ,start-dir : ±âº»°ª : Å×½ºÆ® °Ë»öÀ»À§ÇÑ manage.py ±âº» µð·ºÅ丮ÀÇ À§Ä¡.-p, - pattern : ±âº»°ª : * / tests / *. py; * / TESTS.PY ¼¼¹ÌÄÝ·Ð ºÐ¸® µÈ ÆÄÀÏ GLLBS ·Îµù Å×½ºÆ®¿¡ »ç¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù.-V, --verbosity : ±âº»°ª : 1 Å×½ºÆ® ·¯³Ê ÀÚ¼¼ÇÑ Á¤º¸ - Nocolor : Ç÷¡±×, ±âº»°ª : °ÅÁþ ºñÈ°¼ºÈ »ö»ó Ãâ·Â.-U, --UI : --UI : Only Zentest, ±âº»°ª : ÀÚµ¿ ÃøÁ¤ °Á¦ ƯÁ¤ UI ¸ðµâÀ» »ç¿ëÇÕ´Ï´Ù. »ç¿ë °¡´ÉÇÑ ¿É¼ÇÀº Win32, OSX, Linux ¹× NoneÀÔ´Ï´Ù. ¿ä±¸ »çÇ× : ¡¤ ÆÄÀ̽㠡¤ Çöó½ºÅ©
Çöó½ºÅ© Á¨ °ü·Ã ¼ÒÇÁÆ®¿þ¾î