Burun-coolstorybro uygulaması test için bir burun eklenti.
INSTALL
budala budala + yüklemeniz pip: //github.com/benjaminws/nose-coolstorybro.git
KULLANIM
Sizin testler çok büyük:
& Nbsp; & nbsp; & nbsp; $ Nosetests --with-coolstorybro test / örnekler
& Nbsp; & nbsp; & nbsp; E
& Nbsp; & nbsp; & nbsp; HATA: test_ex_coolstorybro.TestCoolStoryBroExample.test_ex_coolstorybro
& Nbsp; & nbsp; & nbsp; -------------------------------------------------- --------------------
& Nbsp; & nbsp; & nbsp; Traceback (en son çağrı son):
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; Vadede File "/home/bsmith/Dev/python/nose-coolstorybro/lib/python2.7/site-packages/nose/case.py", hat 133,
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; self.runTest (sonuç)
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; RunTest Dosya "/home/bsmith/Dev/python/nose-coolstorybro/lib/python2.7/site-packages/nose/case.py", hat 151,
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; test sonucu)
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; __call__ Dosya "/usr/lib/python2.7/unittest/case.py", hat 385,
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; self.run dönüş (* args, ** kwds)
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; Vadede File "/usr/lib/python2.7/unittest/case.py", hat 296,
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; result.startTest (serbest meslek)
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; StartTest Dosya "/home/bsmith/Dev/python/nose-coolstorybro/lib/python2.7/site-packages/nose/proxy.py", hat 172,
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; self.plugins.startTest (self.test)
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; __call__ Dosya "/home/bsmith/Dev/python/nose-coolstorybro/lib/python2.7/site-packages/nose/plugins/manager.py", hat 94,
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; self.call dönüş (* arg, ** kw)
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; Basit Dosya "/home/bsmith/Dev/python/nose-coolstorybro/lib/python2.7/site-packages/nose/plugins/manager.py", hat 162,
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; Sonuç = met (* arg, ** kw)
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; StartTest Dosya "/home/bsmith/Dev/python/nose-coolstorybro/lib/python2.7/site-packages/nose/plugins/manager.py", hat 343,
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; self.plugin.startTest (WhichAirline) iade
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; StartTest Dosyası "inşa / bdist.linux-x86_64 / yumurta / coolstorybro / coolstorybro.py", hat 43,
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; CoolStoryBro yükseltmek
& Nbsp; & nbsp; & nbsp; CoolStoryBro: U MAD?
& Nbsp; & nbsp; & nbsp; -------------------------------------------------- --------------------
& Nbsp; & nbsp; & nbsp; 0.002s 0 testleri Ran
& Nbsp; & nbsp; & nbsp; BAŞARISIZ (hatalar = 1)
Kaç satır oldu?
& Nbsp; & nbsp; & nbsp; $ Nosetests --with-coolstorybro --tl-dr testi / örnekler
& Nbsp; & nbsp; & nbsp; E
& Nbsp; & nbsp;
& Nbsp; & nbsp; & nbsp; HATA: test_ex_coolstorybro.TestCoolStoryBroExample.test_ex_coolstorybro
& Nbsp; & nbsp; & nbsp; -------------------------------------------------- --------------------
& Nbsp; & nbsp; & nbsp; Traceback (en son çağrı son):
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; Vadede File "/home/bsmith/Dev/python/nose-coolstorybro/lib/python2.7/site-packages/nose/case.py", hat 133,
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; self.runTest (sonuç)
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; RunTest Dosya "/home/bsmith/Dev/python/nose-coolstorybro/lib/python2.7/site-packages/nose/case.py", hat 151,
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; test sonucu)
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; __call__ Dosya "/usr/lib/python2.7/unittest/case.py", hat 385,
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; self.run dönüş (* args, ** kwds)
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; Vadede File "/usr/lib/python2.7/unittest/case.py", hat 296,
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; result.startTest (serbest meslek)
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; StartTest Dosya "/home/bsmith/Dev/python/nose-coolstorybro/lib/python2.7/site-packages/nose/proxy.py", hat 172,
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; self.plugins.startTest (self.test)
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; __call__ Dosya "/home/bsmith/Dev/python/nose-coolstorybro/lib/python2.7/site-packages/nose/plugins/manager.py", hat 94,
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; self.call dönüş (* arg, ** kw)
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; Basit Dosya "/home/bsmith/Dev/python/nose-coolstorybro/lib/python2.7/site-packages/nose/plugins/manager.py", hat 162,
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; Sonuç = met (* arg, ** kw)
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; StartTest Dosya "/home/bsmith/Dev/python/nose-coolstorybro/lib/python2.7/site-packages/nose/plugins/manager.py", hat 343,
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; self.plugin.startTest (WhichAirline) iade
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; StartTest Dosyası "inşa / bdist.linux-x86_64 / yumurta / coolstorybro / coolstorybro.py", hat 42,
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; CoolStoryBro yükseltmek ("TL; DR:% d satırları"% test_length)
& Nbsp; & nbsp; & nbsp; CoolStoryBro: TL; DR: 12 satır
& Nbsp; & nbsp; & nbsp; -------------------------------------------------- --------------------
& Nbsp; & nbsp; & nbsp; 0.002s 0 testleri Ran
& Nbsp; & nbsp; & nbsp; BAŞARISIZ (hatalar = 1)
Gereksinimleri :
- Python
- burun
Yorum Bulunamadı