Share

CxxTest

Code

Programming Languages: C++

License: GNU Library or Lesser General Public License (LGPL)

Repositories

browse code, statistics, last commit on 2004-12-29 cvs -d:pserver:anonymous@cxxtest.cvs.sourceforge.net:/cvsroot/cxxtest login

cvs -z3 -d:pserver:anonymous@cxxtest.cvs.sourceforge.net:/cvsroot/cxxtest co -P modulename

Show:

What's happening?

  • build with gcc 4.3 using strict compiler settings

    I compile with (among other things) "-ansi -pedantic -Wmissing-declarations -Werror". The -pedantic forbids stray semicolons after non-class/struct blocks, and -Wmissing-declarations forbids free functions with external linkage that aren't declared before definition (generally candidates for static linkage). I had to make several following modifications in order to build CxxTest (patch...

    2008-05-24 20:44:51 UTC by tbarta

  • remove usage of namespaces

    Hello Erez Volk, The CxxTest Program looks great - especially for embedded systems since it does not require RTTI, templates and exceptions. Is it possible to use it even if the compiler does not support namespaces? According to a collegue of mine, one of our embedded C++ compiler does not support it. Also the Embedded C++ Specification ISO/IEC 14882-1998 prohibits the usage of...

    2008-04-07 16:03:34 UTC by warnke

  • Comment: testgen skript ignore ifdef,ifndef and comments

    This is not a bug, it's a limitation. From CxxTest user guide, section 4.2: "Commenting out the tests using C-style comments or the preprocessor will not work". Only C++ style comments can be used.

    2008-03-26 20:13:23 UTC by nobody

  • testgen skript ignore ifdef,ifndef and comments

    #ifndef DEBUG void testDebug() { TS_ASSERT_THROWS_NOTHING(throw _Exception("DEBUG is off.")); } #endif ------- testDebug is parsed by script cxxtestgen.py, but it shouldn't. Compilation report testDebug is not member of MyTestClassName. The same with ifdef and comments.

    2007-08-02 21:19:39 UTC by nobody

  • appending tests to existing cpp file

    i have been using namespaces in my test classes and as a result have to slightly modify the generated cpp file. i have made a patch for the python script so that new tests are appended to the end of the file without rewriting the whole cxx file. in order to use it, the user should generate the initial cxx file without the appending tag. however, appending tag should be used thereafter to...

    2007-07-17 06:43:47 UTC by j_jughead

  • Traceback on command line error

    In case of command line error, the output fails with Python 2.5: >cxxtestgen.py -x Usage: cxxtestgen.py [OPTIONS] Generate test source file for CxxTest. [... help here ...] Traceback (most recent call last): File "C:\dev4\Common\3rdParty\cxxtest\cxxtestgen.py", line 593, in main() File "C:\dev4\Common\3rdParty\cxxtest\cxxtestgen.py", line 53, in...

    2007-07-16 10:37:23 UTC by dvarrazzo

  • List of header files as script input

    I would like to use a list of unit test suites as an integration test. For that I need to generate a test runner using a long list of header files. I would've really appreciate using a command line argument a text file as input containing a list of header file paths. example: perl csstestgen.pl -o runner.cpp -i headerlist.txt Thanks, Stephane Tremblay cs880 at yahoo dot com.

    2007-05-18 15:01:50 UTC by nobody

  • keepfailed flag to only keep the gui if a test fails

    I would like you to add a -keepfailed flag that only keeps the gui displayed if a test fails. I have added it to my own code already and have attached the file I changed.

    2006-08-04 18:28:22 UTC by acepeep

  • Comment: cxxTest App returns success exit code test fails w/keep GUI

    Logged In: YES user_id=1568867 I entered this bug if anyone has a question for me. (I didn't have an account at the time.)

    2006-08-04 18:14:24 UTC by acepeep

  • cxxTest App returns success exit code test fails w/keep GUI

    If the cxxTest is using the Win32Gui and the -keep flag is specified, the application will return 0 even when a test fails. Without the -keep it correctly returns a non-zero value indicating the number of tests that failed. The following code change fixes the problem: win32gui.h line 356 should be changed like so: ORIGINAL CODE: case WM_CLOSE: case...

    2006-08-04 18:08:55 UTC by nobody

Our Numbers