Hi,
Happy new year!
Cutter 1.2.0 had been released:
http://cutter.sourceforge.net/
http://cutter.sourceforge.net/reference/news.html#news.release-1-2-0
Install:
http://cutter.sourceforge.net/reference/install.html
The MacPorts package for Cutter is imported into the
official repository. Please use the official repository.
Highlight
=========
UI changes
----------
The GTK+ UI fully support all test types now.
The console UI changes message output on test failure, error
and so on.
Old:
F....F.
1) Failure: test_build_fixture_path
<cut_build_path(cut_take_string(g_get_current_dir()), cuttest_get_base_dir(), "a", "b", "c", NULL) == cut_build_fixture_path("c", "d", NULL)>
expected: <"/home/kou/work/c/cutter/test/a/b/c">
actual: <"/home/kou/work/c/cutter/test/a/b/c/d">
diff:
? "/home/kou/work/c/cutter/test/a/b/c/d"
test/cutter/test-cut-test-utils.c:124: test_build_fixture_path(): cut_assert_equal_string(cut_test_context_take_string(cut_test_context_current_peek(), (cut_utils_build_path(cut_test_context_take_string(cut_test_context_current_peek(), (g_get_current_dir())), cuttest_get_base_dir(), "a", "b", "c", ((void *)0)))), cut_test_context_build_fixture_path( cut_test_context_current_peek(), "c", "d", ((void *)0)), )
2) Failure: test_build_path
<expected == cut_build_path("a", "b", "c", "d", NULL)>
expected: <"a/b/c">
actual: <"a/b/c/d">
diff:
? "a/b/c/d"
test/cutter/test-cut-test-utils.c:103: test_build_path(): cut_assert_equal_string(expected, cut_test_context_take_string(cut_test_context_current_peek(), (cut_utils_build_path("a", "b", "c", "d", ((void *)0)))), )
Finished in 0.012739 seconds (total: 0.002901 seconds)
7 test(s), 14 assertion(s), 2 failure(s), 0 error(s), 0 pending(s), 0 omission(s), 0 notification(s)
71.4286% passed
The above shows all messages after all tests are finished.
New:
F
===============================================================================
Failure: test_build_fixture_path
<cut_build_path(cut_take_string(g_get_current_dir()), cuttest_get_base_dir(), "a", "b", "c", NULL) == cut_build_fixture_path("c", "d", NULL)>
expected: <"/home/kou/work/c/cutter/test/a/b/c">
actual: <"/home/kou/work/c/cutter/test/a/b/c/d">
diff:
? "/home/kou/work/c/cutter/test/a/b/c/d"
test/cutter/test-cut-test-utils.c:124: test_build_fixture_path(): cut_assert_equal_string(cut_test_context_take_string(cut_test_context_current_peek(), (cut_utils_build_path(cut_test_context_take_string(cut_test_context_current_peek(), (g_get_current_dir())), cuttest_get_base_dir(), "a", "b", "c", ((void *)0)))), cut_test_context_build_fixture_path( cut_test_context_current_peek(), "c", "d", ((void *)0)), )
===============================================================================
....F
===============================================================================
Failure: test_build_path
<expected == cut_build_path("a", "b", "c", "d", NULL)>
expected: <"a/b/c">
actual: <"a/b/c/d">
diff:
? "a/b/c/d"
test/cutter/test-cut-test-utils.c:103: test_build_path(): cut_assert_equal_string(expected, cut_test_context_take_string(cut_test_context_current_peek(), (cut_utils_build_path("a", "b", "c", "d", ((void *)0)))), )
===============================================================================
.
Finished in 0.011594 seconds (total: 0.004129 seconds)
7 test(s), 14 assertion(s), 2 failure(s), 0 error(s), 0 pending(s), 0 omission(s), 0 notification(s)
71.4286% passed
The above shows a message immediately.
By this change, you can debug immediately.
C++ support is improved
-----------------------
This release adds some assertions for
C++. (e.g. cppcut_assert_not_equal())
Changes
=======
Here is a summary of changes:
== [release-1-2-0] 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
* Added more supported types by cppcut_assert_equal().
* Added cppcut_assert_not_equal().
* Added cppcut_assert_null().
* Added cppcut_assert_not_null().
* Added cppcut_assert_operator().
Thanks,
--
kou
|