⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 news

📁 c unit test framework
💻
字号:
Fri, Nov 12, 2004: Released Check 0.9.2Use strsignal to print describing text for signals.Documented signals handling and timeouts.Changed failure message for fail_if.Added support for timeouts on tests, enabling detection of eternal loops.Changed name on function list_create to check_list_create to avoid name clash.Applied ANSI C99 patch (#1047014) for macro var args.Cleaned up the self test verification to simplify merging of new tests.Fixed debian and rpm targetsAdded support for testing on expected signals. Implementation courtesy ofLucas Di Pentima and Cesar Ballardini. Fri, Sep 3, 2004: Released Check 0.9.1Updated tutorial with new features.Added support for XML output of the test results, courtesy of Frederic Peters.Fixed setup bug from forum, failure in setup did not abort test in nofork mode.Applied varargs patch (#933411) and added test cases.Applied fail_if (#709167) patch.Applied 'newbies' patch #995028 for autoconf doc.Applied doc patch #995028 from Bill Barnard.Fixed portability problems tests by changing == to =.Changed copyright according to bug report.Applied patch 796705. Replacing _exit with exit.Applied patch for bug 793671.Mon, May 17, 2004: Released Check 0.9.0Run fixture teardowns in reverse order to setupPlugged some memory leaks.Added test name to log outputs.Applied patch (802160) for distcheck bug (579604).Fixed log printouts for nofork mode.Updated documentation and converted to DocBook.Added a new print mode, CK_ENV, that gets the print mode from theenvironment variable CK_VERBOSITY.Made tcase_free and suite_free static. This may break existing testprograms. Everything is now freed when srunner_free is called.Mon Oct 21, 2002: Released Check 0.8.4Fixed pipe issues.Allow to use check.h from C++.Plugged some memory leaks.Fri May 24, 2002: Released Check 0.8.3Fixed various build problems. Fixed a problem with check.m4.Documentation updates.Mon Apr 15, 2002: Released Check 0.8.2Added version information to headers and library. Added an autoconfmacro to easily integrate check into projects that use autoconf.Removed limitations on line number, message and buffer sizes.Declared constant string parameters as const.Sat Mar 2, 2002: Released Check 0.8.1Changed license to LGPL.Fixed bug in running checked setup in nofork mode.Wed Oct 24, 2001: Released Check 0.8.0Support running in a nofork mode. Defined a checked fixture as well asan unchecked fixture, support failing in checked and uncheck fixturefunctions, and errors in checked fixture functions. Rewrote theback-end to use pipes, rather than message queues.Reimplemented printing functions in terms of string formattingfunctions, to allow better testing of output without full end-to-endtesting.Renamed some public constants to use the CK_ naming convention. Thiswill break existing test programs.Documented the new features, and changed the distribution to includesgml and html files, as well as lyx files, as many people don't havelyx.Thu Aug 23, 2001: Released Check 0.7.3Fixed the Autoconf Lyx check in acinclude.m4 so that configure workson Solaris systems (and hopefully others), and cleaned up a minorproblem in Debian packaging.Fri Aug 17, 2001: Released Check 0.7.2Automated RPM packaging, and included debian packaging. The makefilesnow has an rpm target (the RPMFLAGS variable can be set to addadditional flags to RPM). Debian packages are built the ordinary way(dpkg-buildpackage).Moved the example*.* files to tutorial*.*, since the docs really aretutorials. Beefed up the tutorial docs to add clarity to the behaviorof fixture setup/teardown (based on a helpful critique by Fred Drake),and to document the static nature of unit tests demanded by the bugfix below.Many bugfixes: added -Wall to the CCFLAGS for gcc, and fixed a mess ofwarnings that resulted. Changed a bizarre naming mismatch intcase_set_fixture (masked by the lack of compile warnings), and madeunit tests static (both bugfixes suggested by Fred Drake). Also addeda more sophisticated test of Lyx to (hopefully) ensure that Lyxsupports linuxdoc (but it's not clear to me how to test that forsure).Wed Jul 30, 2001: Released Check 0.7.1Reorganized printing and logging functions to allow for a lessprimitive logging function. Logging is now documented in the tutorialdocumentation.Wed Jul 11, 2001: Released Check 0.7.0Included a primitive logging function (at the moment, it only prints acopy of the CRVERBOSE output to the log file), added the ability foran SRunner to run multiple suites (and reorganized the Check tests totake advantage of that), and added the magic to allow Check to be usedwith C++.Also added Doxygen markup to the header file, but I'm not terriblysatisfied withe clarity of the output. I may switch to CWEB... Nextrelease should include API docs and improved logging, if nothing elsecomes up...Wed Jun 27, 2001: Released Check 0.6.1Bug fix for srunner_failures (bad version actually returned allresults), added srunner_results to do what srunner_failures used todo, and added corrected unit tests for both.Also changed the API for reporting the number of failed tests fromsrunner_nfailed to srunner_ntests_failed, to harmonized better withnew function srunner_ntests_run. This unfortunately may break someunit tests slightly -- that's why the major release number is 0 :-)Thu Jun 21, 2001: Released Check 0.6.0Features improved unit test reporting options, more complete unittests, and end-to-end test, and a full API into TestResultsCheck 0.5.2Minor editsCheck 0.5.1GPL compliance releaseCheck 0.5.0Initial public release

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -