neus-coolstorybro is een neus plugin voor app testen.
INSTALL
pip installeren git + git: //github.com/benjaminws/nose-coolstorybro.git
GEBRUIK
Uw tests zijn te groot:
& Nbsp; & nbsp; & nbsp; $ Nosetests --with-coolstorybro test / voorbeelden
& Nbsp; & nbsp; & nbsp; E
& Nbsp; & nbsp; & nbsp; FOUT: test_ex_coolstorybro.TestCoolStoryBroExample.test_ex_coolstorybro
& Nbsp; & nbsp; & nbsp; -------------------------------------------------- --------------------
& Nbsp; & nbsp; & nbsp; Traceback (meest recente oproep vorige):
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; File "/home/bsmith/Dev/python/nose-coolstorybro/lib/python2.7/site-packages/nose/case.py", lijn 133, in run
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; self.runTest (resultaat)
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; File "/home/bsmith/Dev/python/nose-coolstorybro/lib/python2.7/site-packages/nose/case.py", lijn 151, in runtest
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; -test (resultaat)
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; File "/usr/lib/python2.7/unittest/case.py", lijn 385, in __call__
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; self.run terug (* args, ** kwds)
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; File "/usr/lib/python2.7/unittest/case.py", lijn 296, in run
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; result.startTest (zelf)
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; File "/home/bsmith/Dev/python/nose-coolstorybro/lib/python2.7/site-packages/nose/proxy.py", lijn 172, in 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", lijn 94, in __call__
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; terug 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", lijn 162, in eenvoudige
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; resultaat = meth (* arg, ** kw)
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; File "/home/bsmith/Dev/python/nose-coolstorybro/lib/python2.7/site-packages/nose/plugins/manager.py", lijn 343, in startTest
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; terug self.plugin.startTest (test.test)
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; File "bouwen / bdist.linux-x86_64 / ei / coolstorybro / coolstorybro.py", lijn 43, in startTest
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; verhogen CoolStoryBro
& Nbsp; & nbsp; & nbsp; CoolStoryBro: U MAD?
& Nbsp; & nbsp; & nbsp; -------------------------------------------------- --------------------
& Nbsp; & nbsp; & nbsp; Ran 0 testen in 0.002s
& Nbsp; & nbsp; & nbsp; FAILED (fouten = 1)
Hoeveel regels was dat?
& Nbsp; & nbsp; & nbsp; $ Nosetests --with-coolstorybro --tl-dr test / voorbeelden
& Nbsp; & nbsp; & nbsp; E
& Nbsp; & nbsp;
& Nbsp; & nbsp; & nbsp; FOUT: test_ex_coolstorybro.TestCoolStoryBroExample.test_ex_coolstorybro
& Nbsp; & nbsp; & nbsp; -------------------------------------------------- --------------------
& Nbsp; & nbsp; & nbsp; Traceback (meest recente oproep vorige):
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; File "/home/bsmith/Dev/python/nose-coolstorybro/lib/python2.7/site-packages/nose/case.py", lijn 133, in run
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; self.runTest (resultaat)
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; File "/home/bsmith/Dev/python/nose-coolstorybro/lib/python2.7/site-packages/nose/case.py", lijn 151, in runtest
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; -test (resultaat)
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; File "/usr/lib/python2.7/unittest/case.py", lijn 385, in __call__
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; self.run terug (* args, ** kwds)
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; File "/usr/lib/python2.7/unittest/case.py", lijn 296, in run
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; result.startTest (zelf)
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; File "/home/bsmith/Dev/python/nose-coolstorybro/lib/python2.7/site-packages/nose/proxy.py", lijn 172, in 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", lijn 94, in __call__
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; terug 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", lijn 162, in eenvoudige
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; resultaat = meth (* arg, ** kw)
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; File "/home/bsmith/Dev/python/nose-coolstorybro/lib/python2.7/site-packages/nose/plugins/manager.py", lijn 343, in startTest
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; terug self.plugin.startTest (test.test)
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; File "bouwen / bdist.linux-x86_64 / ei / coolstorybro / coolstorybro.py", lijn 42, in startTest
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; verhogen CoolStoryBro ("TL; DR:% d lijnen"% test_length)
& Nbsp; & nbsp; & nbsp; CoolStoryBro: TL; DR: 12 lijnen
& Nbsp; & nbsp; & nbsp; -------------------------------------------------- --------------------
& Nbsp; & nbsp; & nbsp; Ran 0 testen in 0.002s
& Nbsp; & nbsp; & nbsp; FAILED (fouten = 1)
Eisen
- Python
- neus
Reacties niet gevonden