Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Quality Assurance and Testing

    python-watching-testrunner 1.0

    Download button

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

    License / Price:

    Last Updated:

    Category:
    Felix Schwarz, Martin Hacker and Robert Buchholz | More programs
    BSD License / FREE
    March 26th, 2012, 11:31 GMT
    ROOT / Programming / Quality Assurance and Testing

     Read user reviews (0)  Refer to a friend  Subscribe

    python-watching-testrunner description

    Automatic test execution on file changes

    python-watching-testrunner provides automatic test execution on file changes.

    Why

    Because unit testing is even more fun

    * when you don't have to switch out of your editor to get feedback from unit tests.
    * the shorter the feedback period is till you get feedback from your tests.

    I've seen the usefullness toying with rubys autotest command, so I pestered Felix to build something like this, and after using it for about a two years, I finally got around to packaging it.

    In addition to that it's brain dead simple, has no dependencies and is _really_ small.

    Usage

            % watching_testrunner --help
            Usage: watching_testrunner [options] command [arguments...]

            Options:
              -h, --help            show this help message and exit
              -b BASEPATH, --basepath=BASEPATH
                                    base path to watch for changes
              -p WATCH_WILDCARD, --pattern=WATCH_WILDCARD
                                    glob-style pattern for file names to watch


    Examples

       watching_testrunner nosetessts $NOSETESTS_ARGUMENTS

    This will run nosetests whenever any python file below the current directory changes

         watching_testrunner --basepath foo/bar --pattern="*" nosetessts $NOSETESTS_ARGUMENTS


    This will run nosetests whenever any file below ./foo/bar changes.

      watching_testrunner --basepath path/to/js_tests --pattern="*.js" jasmine --console

     This will run jasmine --console whenever any js file below ./path/to/js_tests changes (i.e. you can use the watching testrunner to get auto test execution using any tool for any language).


    Product's homepage

    Requirements:

    · Python

      


    TAGS:

    test execution | test runner | Python | test | execution

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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