RSpec ã®å ¥éã¨ãã®ä¸æ©å 㸠ãã¨ã¦ãããè¨äºã ã£ãã®ã§ã Python ã§åçµããã¦ãããã¾ããã https://github.com/methane/pytest-tut Ruby ã³ãã¥ããã£ã¨ Python ã³ãã¥ããã£ã®èãæ¹ã®éããè¦ãã¦é¢ç½ãã¨æãã¾ãã ç°å¢ã¯ Python 3.3 ã§ãå®è¡ã«ã¯ py.test ã³ãã³ãã使ãã¾ãããã py.test ã®æ©è½ã¯ç¹ã«ä½¿ã£ã¦ããªãã®ã§ nose ã§ããªãã§ã大ä¸å¤«ã§ãã ãã¡ã¤ã«ã®ä½æ ã¾ãã¯ç©ºã®å®è£ ã¨ãã¹ããä½ãã¾ãã message_filter.py class MessageFilter: pass message_filter_test.py æåã®ãã¹ããæ¸ã py.test 㯠.should ã¨ãã£ãã¡ã½ãããåæã«çããããã¯ãã¾ãããæ®éã« assert æãæ¸ãã¾ãããã --- a/messege
{{#tags}}- {{label}}
{{/tags}}