neus-coolstorybro is 'n neus plugin app toets.
Installeer
PIP installeer git + git: //github.com/benjaminws/nose-coolstorybro.git
GEBRUIK
Jou toetse is te groot:
& Nbsp; & nbsp; & nbsp; $ Nosetests with-coolstorybro toets / voorbeelde
& Nbsp; & nbsp; & nbsp; E
& Nbsp; & nbsp; & nbsp; FOUT: test_ex_coolstorybro.TestCoolStoryBroExample.test_ex_coolstorybro
& Nbsp; & nbsp; & nbsp; -------------------------------------------------- --------------------
& Nbsp; & nbsp; & nbsp; Stapelspoor (mees onlangse oproep laaste):
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; Lêer "/home/bsmith/Dev/python/nose-coolstorybro/lib/python2.7/site-packages/nose/case.py", lyn 133, in aanloop
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; self.runTest (gevolg)
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; Lêer "/home/bsmith/Dev/python/nose-coolstorybro/lib/python2.7/site-packages/nose/case.py", lyn 151, in runTest
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; toets (gevolg)
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; Lêer "/usr/lib/python2.7/unittest/case.py", lyn 385, in __call__
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; self.run terugkeer (* argumente, ** kwds)
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; Lêer "/usr/lib/python2.7/unittest/case.py", lyn 296, in aanloop
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; result.startTest (self)
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; Lêer "/home/bsmith/Dev/python/nose-coolstorybro/lib/python2.7/site-packages/nose/proxy.py", lyn 172, in startTest
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; self.plugins.startTest (self.test)
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; Lêer "/home/bsmith/Dev/python/nose-coolstorybro/lib/python2.7/site-packages/nose/plugins/manager.py", lyn 94, in __call__
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; terugkeer self.call (* arg, ** kw)
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; Lêer "/home/bsmith/Dev/python/nose-coolstorybro/lib/python2.7/site-packages/nose/plugins/manager.py", lyn 162, in eenvoudige
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; gevolg = meth (* arg, ** kw)
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; Lêer "/home/bsmith/Dev/python/nose-coolstorybro/lib/python2.7/site-packages/nose/plugins/manager.py", lyn 343, in startTest
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; terugkeer self.plugin.startTest (test.test)
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; Lêer "te bou / bdist.linux-x86_64 / eier / coolstorybro / coolstorybro.py", lyn 43, in startTest
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; samel CoolStoryBro
& Nbsp; & nbsp; & nbsp; CoolStoryBro: U MAD?
& Nbsp; & nbsp; & nbsp; -------------------------------------------------- --------------------
& Nbsp; & nbsp; & nbsp; Hardloop 0 toetse in 0.002s
& Nbsp; & nbsp; & nbsp; Misluk (foute = 1)
Hoeveel lyne was dit?
& Nbsp; & nbsp; & nbsp; $ Nosetests with-coolstorybro --tl-dr toets / voorbeelde
& Nbsp; & nbsp; & nbsp; E
& Nbsp; & nbsp;
& Nbsp; & nbsp; & nbsp; FOUT: test_ex_coolstorybro.TestCoolStoryBroExample.test_ex_coolstorybro
& Nbsp; & nbsp; & nbsp; -------------------------------------------------- --------------------
& Nbsp; & nbsp; & nbsp; Stapelspoor (mees onlangse oproep laaste):
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; Lêer "/home/bsmith/Dev/python/nose-coolstorybro/lib/python2.7/site-packages/nose/case.py", lyn 133, in aanloop
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; self.runTest (gevolg)
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; Lêer "/home/bsmith/Dev/python/nose-coolstorybro/lib/python2.7/site-packages/nose/case.py", lyn 151, in runTest
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; toets (gevolg)
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; Lêer "/usr/lib/python2.7/unittest/case.py", lyn 385, in __call__
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; self.run terugkeer (* argumente, ** kwds)
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; Lêer "/usr/lib/python2.7/unittest/case.py", lyn 296, in aanloop
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; result.startTest (self)
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; Lêer "/home/bsmith/Dev/python/nose-coolstorybro/lib/python2.7/site-packages/nose/proxy.py", lyn 172, in startTest
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; self.plugins.startTest (self.test)
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; Lêer "/home/bsmith/Dev/python/nose-coolstorybro/lib/python2.7/site-packages/nose/plugins/manager.py", lyn 94, in __call__
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; terugkeer self.call (* arg, ** kw)
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; Lêer "/home/bsmith/Dev/python/nose-coolstorybro/lib/python2.7/site-packages/nose/plugins/manager.py", lyn 162, in eenvoudige
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; gevolg = meth (* arg, ** kw)
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; Lêer "/home/bsmith/Dev/python/nose-coolstorybro/lib/python2.7/site-packages/nose/plugins/manager.py", lyn 343, in startTest
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; terugkeer self.plugin.startTest (test.test)
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; Lêer "te bou / bdist.linux-x86_64 / eier / coolstorybro / coolstorybro.py", lyn 42, in startTest
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; samel CoolStoryBro ("TL; DR:% d lyne"% test_length)
& Nbsp; & nbsp; & nbsp; CoolStoryBro: TL; DR: 12 lyne
& Nbsp; & nbsp; & nbsp; -------------------------------------------------- --------------------
& Nbsp; & nbsp; & nbsp; Hardloop 0 toetse in 0.002s
& Nbsp; & nbsp; & nbsp; Misluk (foute = 1)
Vereistes :
- Python
- neus
Kommentaar nie gevind