'How-To' Category

  • Jul
    08
    2010

    How to run a single unit test/unit test module with py.test

    Note to self: It is actually possible to select a single test module or a single test function in py.test.
    But passing the file name as argument to a py.test invocation selects only the doctest from that file (wtf!?). Instead, you need to call it like this:
    12$ py.test -k test_module    # to run the tests [...]

  • Jul
    05
    2010

    Postprocessing conference videos

    I was planning to attend DebConf New York this year, but for a number of reasons I decided not to go. Fortunately, Ferdinand Thommes organized a MiniDebConf in Berlin at LinuxTag and I managed to attend. Thanks, Ferdinand!
    There were a number of interesting Talks. I especially liked the talk of our DPL, and those about [...]

  • Jan
    04
    2009

    trac served by lighttpd on Debian lenny

    Software installation
    All required packages are installed by the following command:
    apt-get install lighttpd trac subversion apache2-utils
    We install lighttpd together with trac, as otherwise the trac package will pull in an installation of apache2, which is a bit more heavyweight than what I wanted.
    Setting up the directory tree
    Let’s set up a directory tree for trac:
    for p in [...]

 
Powered by Wordpress and MySQL. Theme by openark.org