nenä-coolstorybro on nenä plugin app testaukseen.
Asenna
PIP asentaa git + git: //github.com/benjaminws/nose-coolstorybro.git
KÄYTTÖ
Sinun testit ovat liian suuria:
& Nbsp; & nbsp; & nbsp; $ Nosetests --with-coolstorybro testi / esimerkkejä
& Nbsp; & nbsp; & nbsp; E
& Nbsp; & nbsp; & nbsp; VIRHE: test_ex_coolstorybro.TestCoolStoryBroExample.test_ex_coolstorybro
& Nbsp; & nbsp; & nbsp; -------------------------------------------------- --------------------
& Nbsp; & nbsp; & nbsp; Paluuseurannan (viimeisin kutsu viimeinen):
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; File "/home/bsmith/Dev/python/nose-coolstorybro/lib/python2.7/site-packages/nose/case.py", rivi 133 run
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; self.runTest (tulos)
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; File "/home/bsmith/Dev/python/nose-coolstorybro/lib/python2.7/site-packages/nose/case.py", rivi 151, vuonna runTest
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; testi (tulos)
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; File "/usr/lib/python2.7/unittest/case.py", rivi 385, vuonna __call__
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; palata self.run (* args, ** kwds)
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; File "/usr/lib/python2.7/unittest/case.py", rivi 296, vuonna run
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; result.startTest (itse)
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; File "/home/bsmith/Dev/python/nose-coolstorybro/lib/python2.7/site-packages/nose/proxy.py", rivi 172, vuonna startTest
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; self.plugins.startTest (self.test)
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; File "/home/bsmith/Dev/python/nose-coolstorybro/lib/python2.7/site-packages/nose/plugins/manager.py", rivi 94, vuonna __call__
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; palata self.call (* arg, ** kw)
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; File "/home/bsmith/Dev/python/nose-coolstorybro/lib/python2.7/site-packages/nose/plugins/manager.py", rivi 162, yksinkertaisissa
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; Tulos = met (* arg, ** kw)
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; File "/home/bsmith/Dev/python/nose-coolstorybro/lib/python2.7/site-packages/nose/plugins/manager.py", rivi 343, vuonna startTest
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; palata self.plugin.startTest (test.test)
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; Tiedosto "rakentaa / bdist.linux-x86_64 / muna / coolstorybro / coolstorybro.py", rivi 43, vuonna startTest
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; nostaa CoolStoryBro
& Nbsp; & nbsp; & nbsp; CoolStoryBro: U MAD?
& Nbsp; & nbsp; & nbsp; -------------------------------------------------- --------------------
& Nbsp; & nbsp; & nbsp; Ran 0 testit 0.002s
& Nbsp; & nbsp; & nbsp; FAILED (virheet = 1)
Kuinka monta riviä oli?
& Nbsp; & nbsp; & nbsp; $ Nosetests --with-coolstorybro --tl-dr testi / esimerkkejä
& Nbsp; & nbsp; & nbsp; E
& Nbsp; & nbsp;
& Nbsp; & nbsp; & nbsp; VIRHE: test_ex_coolstorybro.TestCoolStoryBroExample.test_ex_coolstorybro
& Nbsp; & nbsp; & nbsp; -------------------------------------------------- --------------------
& Nbsp; & nbsp; & nbsp; Paluuseurannan (viimeisin kutsu viimeinen):
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; File "/home/bsmith/Dev/python/nose-coolstorybro/lib/python2.7/site-packages/nose/case.py", rivi 133 run
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; self.runTest (tulos)
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; File "/home/bsmith/Dev/python/nose-coolstorybro/lib/python2.7/site-packages/nose/case.py", rivi 151, vuonna runTest
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; testi (tulos)
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; File "/usr/lib/python2.7/unittest/case.py", rivi 385, vuonna __call__
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; palata self.run (* args, ** kwds)
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; File "/usr/lib/python2.7/unittest/case.py", rivi 296, vuonna run
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; result.startTest (itse)
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; File "/home/bsmith/Dev/python/nose-coolstorybro/lib/python2.7/site-packages/nose/proxy.py", rivi 172, vuonna startTest
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; self.plugins.startTest (self.test)
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; File "/home/bsmith/Dev/python/nose-coolstorybro/lib/python2.7/site-packages/nose/plugins/manager.py", rivi 94, vuonna __call__
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; palata self.call (* arg, ** kw)
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; File "/home/bsmith/Dev/python/nose-coolstorybro/lib/python2.7/site-packages/nose/plugins/manager.py", rivi 162, yksinkertaisissa
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; Tulos = met (* arg, ** kw)
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; File "/home/bsmith/Dev/python/nose-coolstorybro/lib/python2.7/site-packages/nose/plugins/manager.py", rivi 343, vuonna startTest
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; palata self.plugin.startTest (test.test)
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; Tiedosto "rakentaa / bdist.linux-x86_64 / muna / coolstorybro / coolstorybro.py", rivi 42, vuonna startTest
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; nostaa CoolStoryBro ("TL, DR:% d riviä"% test_length)
& Nbsp; & nbsp; & nbsp; CoolStoryBro: TL, DR: 12 riviä
& Nbsp; & nbsp; & nbsp; -------------------------------------------------- --------------------
& Nbsp; & nbsp; & nbsp; Ran 0 testit 0.002s
& Nbsp; & nbsp; & nbsp; FAILED (virheet = 1)
vaatimukset
- Python
- nenä
Kommentteja ei löytynyt