.. Running tests written for nose ======================================= nose åãã«æ¸ããããã¹ãã®å®è¡ =============================== .. include:: links.inc .. py.test has basic support for running tests written for nose_. py.test ã¯ãåºæ¬çã«ã¯ nose_ åãã«æ¸ããããã¹ãã®å®è¡ã«å¯¾å¿ãã¦ãã¾ãã .. Usage ------------- 使ç¨æ¹æ³ -------- .. type:: åç´ã«:: py.test # 'nosetests' ã®ä»£ããã«å®è¡ .. and you should be able to run your nose style tests and make use of py.test's capabilities. ãå®è¡ãã¾ããpytest ã®æ©è½ã使ã£ã¦ nose ã¹ã¿ã¤ã«ã®ãã¹ããå®è¡ã§ãã¾ãã .. Supported nose Idioms ---------------------- 対å¿ãã¦ãã nose ã¤ãã£ãªã ---------------------------- .. * setup and teardown at module/class/method level * SkipTest exceptions and markers * setup/teardown decorators * yield-based tests and their setup * general usage of nose utilities * ã¢ã¸ã¥ã¼ã«ï¼ã¯ã©ã¹ï¼ã¡ã½ããã¬ãã«ã® setup 㨠teardown * SkipTest ä¾å¤ã¨ãã¼ã«ã¼ * setup/teardown ãã³ã¬ã¼ã¿ã¼ * yield ãã¼ã¹ã®ãã¹ãã¨ãã®ã»ããã¢ãã * nose ã¦ã¼ãã£ãªãã£ã®ä¸è¬çãªä½¿ç¨æ¹æ³ .. Unsupported idioms / known issues ---------------------------------- 対å¿ãã¦ããªãã¤ãã£ãªã ã¨æ¢ç¥ã®èª²é¡ ------------------------------------ .. - nose-style doctests are not collected and executed correctly, also doctest fixtures don't work. - nose ã¹ã¿ã¤ã«ã® doctest ã¯æ¢ç´¢ããããæ£å¸¸ã«å®è¡ããã¾ãããã¾ã doctest ãã£ã¯ã¹ãã£ãåä½ãã¾ãã .. - no nose-configuration is recognized - nose è¨å®ã¯èªèããã¾ãã