Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • BackTrack 5 R2
  • Wine 1.4 / 1.5.5
  • Mozilla Firefox 12...
  • Ubuntu 11.04
  • Angry Birds 1.1.2.1
  • Ubuntu 10.04.4 LTS
  • Linux Kernel 3.4
  • Ubuntu Manual 10.10
  • Adobe Flash Player...
  • Pidgin 2.10.4
  • Home > Linux > Programming > Quality Assurance and Testing

    jf-unittest 1.0.1

    Download button

    No screenshots available
    Downloads: 361  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Good (3.6/5)
    8 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Joerg Faschingbauer | More programs
    LGPL / FREE
    March 9th, 2008, 06:14 GMT
    ROOT / Programming / Quality Assurance and Testing

     Read user reviews (0)  Refer to a friend  Subscribe

    jf-unittest description

    jf-unittest is a C++ unit test framework, modeled after the way I use the Python unittest module in the Confix test suites.

    jf-unittest is a C++ unit test framework, modeled after the way I use the Python unittest module in the Confix test suites.. I wrote it out of frustration with the existing unittest frameworks out there. As such, I left off all the bloat: no GUI with colorful progress bars, no dependencies on any other package in the world.

    It not even depends on the Boost library which would have come in quite handy, but which has a horrible build system. All one needs is a reasonably standards conformant compiler (which shouldn't be hard to get your hands on these days). For fun and educational purposes, the framework "bootstraps" itself in three stages, testing every aspect of itself before that aspect is used in the next stage.

    The most fancy output one can get looks like this (taken from stage three of its own test suite, just before its completion).

    + jf::unittest::tests::Stage2Suite
    + jf::unittest::tests::SetupTeardownSuite
    - jf::unittest::tests::SetupTeardownSuccess...ok
    - jf::unittest::tests::SetupTeardownSetupFailure...failed
    - jf::unittest::tests::SetupTeardownSetupError...failed
    - jf::unittest::tests::SetupTeardownRunFailure...ok
    - jf::unittest::tests::SetupTeardownRunError...ok
    - jf::unittest::tests::SetupTeardownTeardownFailure...ok
    - jf::unittest::tests::SetupTeardownTeardownError...ok
    + jf::unittest::tests::StartStopSuite
    - jf::unittest::TestStartStop...ok
    - jf::unittest::SuiteStartStop...ok
    ------------------------
    #Success: 7
    #Failures: 2
    #Errors: 0
    #Tests: 9
    #Suites: 3
    ------------------------
    Details follow ...
    ------------------------
    Failure: jf::unittest::tests::SetupTeardownSetupFailure: result.num_error() == 1 (/home/jfasch/work/confix/unittest/trunk/basics/tests/setup_teardown.cc:89)
    Failure: jf::unittest::tests::SetupTeardownSetupError: result.num_error() == 1 (/home/jfasch/work/confix/unittest/trunk/basics/tests/setup_teardown.cc:117)


    What's New in This Release:

    · added M$ files to distfiles
    ·



    Product's homepage

      


    TAGS:

    C++ framewoork | unit testing | quality testing | C++ | unit | test



    HTML code for linking to this page:


    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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