Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Quality Assurance and Testing

    nose-coolstorybro 0.1

    Download button

    No screenshots available
    Downloads: 120  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Benjamin W. Smith | More programs
    BSD License / FREE
    October 27th, 2011, 19:47 GMT
    ROOT / Programming / Quality Assurance and Testing

     Read user reviews (0)  Refer to a friend  Subscribe

    nose-coolstorybro description

    A nose plugin

    nose-coolstorybro is a nose plugin for app testing.

    INSTALL

    pip install git+git://github.com/benjaminws/nose-coolstorybro.git

    USAGE

    Your tests are too big:

        $ nosetests --with-coolstorybro test/examples
        E


        ERROR: test_ex_coolstorybro.TestCoolStoryBroExample.test_ex_coolstorybro
        ----------------------------------------------------------------------
        Traceback (most recent call last):
          File "/home/bsmith/Dev/python/nose-coolstorybro/lib/python2.7/site-packages/nose/case.py", line 133, in run
            self.runTest(result)
          File "/home/bsmith/Dev/python/nose-coolstorybro/lib/python2.7/site-packages/nose/case.py", line 151, in runTest
            test(result)
          File "/usr/lib/python2.7/unittest/case.py", line 385, in __call__
            return self.run(*args, **kwds)
          File "/usr/lib/python2.7/unittest/case.py", line 296, in run
            result.startTest(self)
          File "/home/bsmith/Dev/python/nose-coolstorybro/lib/python2.7/site-packages/nose/proxy.py", line 172, in startTest
            self.plugins.startTest(self.test)
          File "/home/bsmith/Dev/python/nose-coolstorybro/lib/python2.7/site-packages/nose/plugins/manager.py", line 94, in __call__
            return self.call(*arg, **kw)
          File "/home/bsmith/Dev/python/nose-coolstorybro/lib/python2.7/site-packages/nose/plugins/manager.py", line 162, in simple
            result = meth(*arg, **kw)
          File "/home/bsmith/Dev/python/nose-coolstorybro/lib/python2.7/site-packages/nose/plugins/manager.py", line 343, in startTest
            return self.plugin.startTest(test.test)
          File "build/bdist.linux-x86_64/egg/coolstorybro/coolstorybro.py", line 43, in startTest
            raise CoolStoryBro
        CoolStoryBro: U MAD?

        ----------------------------------------------------------------------
        Ran 0 tests in 0.002s

        FAILED (errors=1)


    How many lines was that?

        $ nosetests --with-coolstorybro --tl-dr test/examples
        E

      
        ERROR: test_ex_coolstorybro.TestCoolStoryBroExample.test_ex_coolstorybro
        ----------------------------------------------------------------------
        Traceback (most recent call last):
          File "/home/bsmith/Dev/python/nose-coolstorybro/lib/python2.7/site-packages/nose/case.py", line 133, in run
            self.runTest(result)
          File "/home/bsmith/Dev/python/nose-coolstorybro/lib/python2.7/site-packages/nose/case.py", line 151, in runTest
            test(result)
          File "/usr/lib/python2.7/unittest/case.py", line 385, in __call__
            return self.run(*args, **kwds)
          File "/usr/lib/python2.7/unittest/case.py", line 296, in run
            result.startTest(self)
          File "/home/bsmith/Dev/python/nose-coolstorybro/lib/python2.7/site-packages/nose/proxy.py", line 172, in startTest
            self.plugins.startTest(self.test)
          File "/home/bsmith/Dev/python/nose-coolstorybro/lib/python2.7/site-packages/nose/plugins/manager.py", line 94, in __call__
            return self.call(*arg, **kw)
          File "/home/bsmith/Dev/python/nose-coolstorybro/lib/python2.7/site-packages/nose/plugins/manager.py", line 162, in simple
            result = meth(*arg, **kw)
          File "/home/bsmith/Dev/python/nose-coolstorybro/lib/python2.7/site-packages/nose/plugins/manager.py", line 343, in startTest
            return self.plugin.startTest(test.test)
          File "build/bdist.linux-x86_64/egg/coolstorybro/coolstorybro.py", line 42, in startTest
            raise CoolStoryBro("TL;DR: %d lines" % test_length)
        CoolStoryBro: TL;DR: 12 lines

        ----------------------------------------------------------------------
        Ran 0 tests in 0.002s

        FAILED (errors=1)



    Product's homepage

    Requirements:

    · Python
    · nose

      


    TAGS:

    nose plugin | app testing | nose | testing | plugin

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM