a Unit Testing Framework for C and C++ - Cutter

NEWS

NEWS — The history of Cutter

1.2.4: 2014-05-29

In this release, there are some bugfixes since Cutter 1.2.3 released.

Cutter

Improvements

  • Supported Ubuntu 14.04 (Trusty Tahr).

Changes

  • Dropped Ubuntu 12.10 (Quantal Quetzal) support.

Fixes

  • Added -fexceptions to use C code with C++ exceptions. [Reported by OBATA Akio]

  • Fixed a problem that bash isn't found when executing make check on FreeBSD.

  • Fixed a crash bug because of double free allocated memory. [GitHub #12] [Reported by Kazuhiro Yamato]


Thanks

  • OBATA Akio

  • Kazuhiro Yamato

1.2.3: 2014-02-09

As long time has passed since Cutter 1.2.2 release, there are some improvements and fixed bugs.

After Cutter 1.2.2 release, you can install Cutter from Fedora's official yum repository. No need to register Cutter yum repository on Fedora anymore.

Cutter

Improvements

  • [doc] Removed a needless period from installation link. [GitHub #6] [Patch by Masafumi Yokoyama]

  • Supported lcov 1.10. [cutter-users-ja:92] [Reported by Siganai SE]

  • [doc] Updated download URL on SF.net. [cutter-users-ja:91] [Reported by Siganai SE]

  • [doc] Updated XML report format. [cutter-users-ja:91] [Reported by Siganai SE]

  • Added more trace logs for loader. It helps you to investigate the case when no tests are loaded.

  • [doc] Updated Cygwin's setup.exe URL.

  • Added --log-level option. The value of default log level is "critical|error|warning|message".

Fixes

  • [loader] Fixed a bug that ELF loader can't collect symbol because of wrong comparison.

  • Fixed memory leaks on loading all modules.

  • Fixed a warning from GCC 4.8.1 on Ubuntu 13.10 [GitHub #9] [Reported by Kazuhiro Yamato]


CppCutter

Improvements

  • Supported cppcut_assert_equal(const type_info &, const type_info &) [GitHub #4] [Patch by Kazuhiro Yamato]

  • Supported to catch unhandled C++ exception in test case. This change avoids to crash when unexpected exception is thrown. [GitHub #8] [Suggested by Kazuhiro Yamato] [Patch by Kazuhiro Yamato]

  • Supported to call destructors of objects on a stack even when an assertion is failed. [GitHub #10] [Patch by Kazuhiro Yamato]

Fixes

  • [Clang] Fixed a compile error which is caused by missing std::type_info forward declaration.

  • Fixed an invalid memory access when an exception is thrown in cutter's assertion function. [GitHub #11] [Patch by Kazuhiro Yamato]


GCutter

Fixes

  • [doc] Fixed a signal name typo about gcut-egg example.


Thanks

  • Kazuhiro Yamato

  • Masafumi Yokoyama

  • Siganai SE

1.2.2: 2012-10-29

We began to support Ubuntu 12.10 (Quantal Quetzal). There are some improvements and fixed bugs.

Cutter

Improvements

  • [doc] Added release procedure documentation.

  • [doc] Improved documentation about Travis-CI configuraion.

  • Supported Ubuntu 12.10 (Quantal Quetzal).

Fixes

  • [sample][GTK+] Fixed missing GLIB_LIBS that has flags for GModule. [Reported by Hiroshi Umemoto]


CppCutter

Fixes

  • Fixed a bug that wrong data function is searched.


GCutter

Fixes

  • [sample] Fixed missing function call in sample code.


Thanks

  • Hiroshi Umemoto

1.2.1: 2012-08-15

We began to support Ubuntu Precise/Fedora 17. There are some UI related improvements and fixed bugs.

Cutter

Improvements

  • [UI][GTK+] Supported GTK+ < 2.22 for Debian GNU/Linux squeeze.

  • [UI][console] Supported growlnotify.exe for windows.

  • [UI][GTK+] Added menubar.

  • [UI][GTK+] Improved to log an error message for showing URI.

  • [UI][GTK+] Supported --with-fallback-browser option to customize fallback browser.

  • Improved to use "()" as a part of function about backtrace.

  • [UI][console] Added more color acceptable TERMs (xterm-256color, screen-256color, screen-color)

  • Added Travis CI integration.

  • Supported backtrace on SIGBUS [Patch by Kiwamu Okabe]

  • Added Homebrew related paths by default on Mac OS X.

Changes

  • [doc][Mac OS X] Recommended to use the official MacPorts repository. [Suggested by Hiroshi Umemoto]

  • Supported Fedora 17.

  • Dropped Fedora 16 support.

  • Supported Ubuntu Precise.

Fixes

  • [Clang] Fixed not to add extra "()" for function name of backtrace.

  • Fixed compilation failure on MinGW.


CppCutter

Improvements

  • Supported nested namespace test case built by g++


Thanks

  • Hiroshi Umemoto

  • Kiwamu Okabe

1.2.0: 2011-12-31

We improved C++ support and test runner interface.

Cutter

Improvements

  • [UI][console] Changed to show messages on failure, error and so on immediately. You need to use --show-detail-immediately=no command line option to show messages on end of test like earlier versions.

  • [UI][GTK+] Supported iterated test.

  • [UI][GTK+] Supported re-run test.

  • [UI][GTK+] Unified cancel button and re-run button.

Changes

  • Enabled deprecated GLib API. You need to use --disable-deprecated-glib-api configure option to disable deprecated GLib API.

  • Supported Fedora 16.

  • Dropped Fedora 15 support.


CppCutter

Improvements

1.1.9: 2011-10-22

We move the repository to GitHub from SF.net.

Cutter

Changes

  • Added Ubuntu Oneiric Ocelot support.

  • Added CentOS 6 support.

Fixes

  • Fixed as success test count with thread. [SF.net #3383253] [Reported by Romain Tartière]


Thanks

  • Romain Tartière

1.1.8: 2011-07-31

Cutter

Improvements

  • Supported notify-send availability detection.

  • Added --mode=play option that plays test result from test log.

  • Updated documents for Solaris 10.

  • Supported assertion failures in other thread. Bug #3341429 [Reported by Romain Tartière]

  • Fixed a problem that GTK+ test runner doesn't show test result quickly. [Patch by Tobias Gruetzmacher]

Changes

  • Added Debian GNU/Linux wheezy support.

  • Removed Ubuntu Maverick Meerkat support.

  • Added Ubuntu Natty Narwhal support.

  • Removed Fedora 14 support.

  • Added Fedora 15 support.


cut-diff

Improvements

  • Made --label option optional.


Thanks

  • Romain Tartière

  • Tobias Gruetzmacher

1.1.7: 2011-02-13

Cutter

Improvements

  • Supported growlnotify.

Changes

  • Droped Debian GNU/Linux lenny support.

Fixes

  • Fixed using unknown symbol on CentOS 5.5. [Reported by Hiroaki Nakamura]


Document

Fixes

  • Fixed typos in tutorial. [Reported by Hiroaki Nakamura]


Thanks

  • Hiroaki Nakamura

1.1.6: 2011-02-09

Cutter

Improvments

Fixes

  • Fixed a wrong test. [Suggested by Ilya Barygin]


cut-diff

Improvements


Thanks

  • Romuald Conty

  • Ilya Barygin

1.1.5: 2010-09-06

Cutter

Improvements

Fixes

  • Fixed locale depended tests. [Suggested by Romain Tartière]


cut-diff

Improvements


Documentation

Improvements

  • Used ports on FreeBSD. [Suggested by Romain Tartière]


Thanks

  • Romain Tartière

1.1.4: 2010-06-10

Supported CentOS.

Cutter

Improvements

Fixes

  • Fixed a bug that assertion message is ignored.


Document

Fixes

  • Debian, Ubuntu: Fixed file paths. [Reported by Romuald Conty]


Thanks

  • Romuald Conty

1.1.3: 2010-04-13

Improved test driven test support.

Cutter

Improvements

  • AC_CHECK_ENABLE_COVERAGE: Added a new 'coverage-force' target that reports coverage even if 'make check' is failed.

Bug fixes

  • Removed unneeded memory free [Reported by Zed Shaw]

  • AC_CHECK_ENABLE_COVERAGE: Fixed a bug that 8 spaces instead of a TAB is printed into Makefile.


GCutter

Bug fixes

  • Fixed a bug that gcut_list_inspect_enum() and gcut_list_inspect_flags() is crashed on Mac OS X.


Document

Bug fixes

  • Fixed dependency package list for Cygwin 1.7.


Thanks

  • Zed Shaw

1.1.2: 2010-04-03

Improves Windows support.

Cutter

Improvements

  • Supported lcov 1.8

  • Supported --enable-coverage=SOMETHING style. [Reported by gunyara-kun]

  • #2976775: Supported cut_omit() in cut_setup() [Reported by Romain Tartière]

  • Supported building and testing with Visual Studio C++ 2008


CppCutter

Improvements

  • Added CUT_EXPORT that is a macro to mark test function on Windows


Document

Improvements

  • Supported Ubuntu Karmic Koara.


Thanks

  • Romain Tartière

  • gunyara-kun

1.1.1: 2010-03-11

Bug in 1.1.0 fixes and improvements of GObject and sockaddr support.

Cutter

Improvements

Fixes

  • Fixed a build problem on having stdint.h but not having inttypes.h.


GCutter

Improvements

1.1.0: 2009-11-03

NOTE: This release includes API incompatibility.

Cutter

Improvements


CppCutter

Improvements


Thanks

  • Yuto Hayamizu

1.0.9: 2009-10-20

Improvements


Bug fixes

  • Fix locale dependent bugs [Reported by Yoshinori K. Okuji]


Thanks

  • Yoshinori K. Okuji

1.0.7: 2009-05-20

1.0.5: 2008-10-15

1.0.4: 2008-08-27

1.0.3: 2008-07-15

1.0.2: 2008-06-27

  • Support fixture data

    • cut_set_fixture_data_dir()

    • cut_get_fixture_data_string()

    • cut_build_fixture_data_path()

  • Add a utility

    • cut_remove_path()

  • Add assertions

    • cut_assert_equal_fixture_data_string()

    • cut_assert_path_not_exist()

    • cut_assert_remove_path()

    • cut_error_errno()

  • Experimental:

    • Windows support

1.0.1: 2008-06-13

  • Improve AC_CHECK_COVERAGE

  • Document:

    • Fix: Require GLib >= 2.16

  • Experimental:

    • Support GStreamer:

      • Transport test result to remote machine and so on

    • Support warmup()/cooldown()

1.0.0: 2008-05-20

  • Add assertions:

    • cut_assert_equal_pointer()

    • cut_assert_g_error()

    • cut_assert_match()

    • cut_assert_match_with_free()

  • Add --exclude-file option that specifies excluded files from test targets

  • Add --exclude-dir option that specifies excluded directories from test targets

  • Add --without-cutter to cutter.m4 (configure option)

  • Experimental:

    • Implement Cutter protocol (CutXMLStreamer and CutStreamParser)

    • Add cut_take_g_error()

    • Support Mac OS X

0.9.0: 2008-05-12

  • Add assertions.

    • cut_assert_equal_string_array_with_free()

    • cut_assert_true()

    • cut_assert_false()

    • cut_assert_file_exist()

  • Add AC_CHECK_GCUTTER

  • Experimental: Support GObject:

    • cut_take_g_object()

0.8.0: 2008-05-07

  • LGPL2 -> LGPL3

  • Add assertions.

    • cut_assert_equal_g_list_int()

    • cut_assert_equal_g_list_string()

    • cut_assert_errno()

  • Support omission: cut_omit()

  • Support startup/shutdown hooks that are ran on before test case start and end.

  • Support diff.

  • Support gcov.

  • Experimental: Support fork:

    • cut_fork()

    • cut_wait_process()

    • cut_fork_get_stdout_message()

    • cut_fork_get_stderr_message()

0.7.0: 2008-03-26

  • Fixed packaging failure.

  • Fixed --help-all.

  • Added a document for XML format reported by Cutter.

0.6.0: 2008-03-21

  • Added --xml-report option for reporting test result as XML.

  • Added --test-case-order option for sorting test case by name.

  • Added --version option for outputting Cutter version.

  • Added --disable-bfd option to configure.

0.5.0: 2008-03-10

  • Included missing cutter/gbsearcharray.h.

0.4.0: 2008-02-28

  • cut_pending() -> cut_pend().

  • Supported attributes.

0.3.0: 2007-12-14

  • Fixed documentation.

  • Marked cut_assert_equal_string_or_null() as deprecated.

  • cut_assert_equal_string() accepted NULL.

  • Removed an experimental API from document.

0.2.0: 2007-11-29

  • Initial release on SF.net.