Knowledge

CppUnit

Source 📝

236: 415: 82: 609: 879: 964: 250: 988: 976: 178:
The framework runs tests in suites. Test result output is sent to a filter, the most basic being a simple pass or fail count printed out, or more advanced filters allowing XML output compatible with
309: 443: 772: 241: 47: 526: 285: 172: 120: 1029: 421: 102: 506: 263: 163:
sources as well as C++ with minimal source modification. It was started around 2000 by Michael Feathers as a C++
923: 452: 436: 378: 1019: 980: 59: 713: 276:
Madden, Blake (6 April 2006). "1.7: Using CPPUnit to implement unit testing". In Dickheiser, Mike (ed.).
255: 186: 68: 29: 928: 765: 1024: 1014: 655: 429: 160: 944: 680: 179: 864: 968: 758: 718: 340: 8: 812: 617: 521: 201:
project (which uses CppUnit heavily), was actively maintained until 2020, and is used in
987: 81: 802: 700: 670: 516: 511: 414: 337: 202: 364: 903: 536: 281: 194: 451: 324: 171:
for Windows and ported to Unix by Jerome Lacoste. The library is released under the
827: 822: 817: 807: 739: 630: 559: 464: 115: 908: 456: 190: 608: 843: 734: 992: 352: 1008: 878: 913: 531: 408: 214: 210: 107: 131: 848: 781: 198: 640: 589: 584: 480: 218: 949: 898: 645: 625: 152: 249: 660: 650: 635: 485: 594: 569: 164: 675: 574: 543: 501: 206: 750: 665: 564: 168: 156: 95: 579: 918: 690: 685: 231: 1006: 34:1.15.1 (LibreOffice version) (13 April 2017 367:presented as CppUnit2; not modified since 2009 766: 437: 773: 759: 444: 430: 413: 80: 376: 197:, maintained by Markus Mohrhard of the 1007: 275: 754: 425: 343:for CppUnit and other Unit Test tools 975: 377:Mohrhard, Markus (22 October 2013). 322: 242:Free and open-source software portal 13: 269: 14: 1041: 714:Open Collaboration Services (OCS) 400: 173:GNU Lesser General Public License 986: 974: 963: 962: 877: 607: 248: 234: 780: 264:List of unit testing frameworks 370: 358: 346: 331: 316: 302: 1: 924:Python (programming language) 453:Free and open-source software 295: 16:Unit testing framework module 159:. It allows unit-testing of 7: 256:Computer programming portal 227: 10: 1046: 355:presented as CppUnit v1.13 958: 937: 929:Universal Network Objects 886: 875: 857: 836: 795: 788: 727: 699: 616: 605: 552: 494: 473: 463: 418:(freedesktop.org version) 155:framework module for the 126: 114: 101: 91: 58: 54: 28: 24: 383:LibreOffice mailing list 157:C++ programming language 1030:Unit testing frameworks 945:The Document Foundation 325:"CppUnit Documentation" 280:. Charles River Media. 278:Game Programming Gems 6 950:Collabora Productivity 681:Video Acceleration API 180:continuous integration 185:The project has been 36:; 7 years ago 353:freedesktop.org fork 310:"Commit description" 1020:Extreme programming 455:projects hosted by 379:"cppunit framework" 203:Linux distributions 189:several times. The 182:reporting systems. 21: 865:LibreOffice Online 327:. freedesktop.org. 323:Mohrhard, Markus. 19: 1002: 1001: 904:LibreOffice Basic 873: 872: 748: 747: 603: 602: 146: 145: 1037: 990: 978: 977: 966: 965: 881: 793: 792: 775: 768: 761: 752: 751: 740:Portland Project 611: 471: 470: 446: 439: 432: 423: 422: 417: 412: 411: 409:Official website 394: 393: 391: 389: 374: 368: 362: 356: 350: 344: 335: 329: 328: 320: 314: 313: 306: 291: 258: 253: 252: 244: 239: 238: 237: 142: 139: 137: 135: 133: 84: 79: 76: 74: 72: 70: 50: 44: 42: 37: 22: 18: 1045: 1044: 1040: 1039: 1038: 1036: 1035: 1034: 1025:Freedesktop.org 1005: 1004: 1003: 998: 954: 933: 909:Office Open XML 882: 869: 853: 832: 784: 779: 749: 744: 723: 695: 612: 599: 548: 490: 459: 457:freedesktop.org 450: 407: 406: 403: 398: 397: 387: 385: 375: 371: 363: 359: 351: 347: 336: 332: 321: 317: 308: 307: 303: 298: 288: 272: 270:Further reading 254: 247: 240: 235: 233: 230: 224: 191:freedesktop.org 130: 87: 67: 46: 40: 38: 35: 17: 12: 11: 5: 1043: 1033: 1032: 1027: 1022: 1017: 1000: 999: 997: 996: 984: 972: 959: 956: 955: 953: 952: 947: 941: 939: 935: 934: 932: 931: 926: 921: 916: 911: 906: 901: 896: 890: 888: 884: 883: 876: 874: 871: 870: 868: 867: 861: 859: 855: 854: 852: 851: 846: 844:Impress Remote 840: 838: 834: 833: 831: 830: 825: 820: 815: 810: 805: 799: 797: 790: 786: 785: 778: 777: 770: 763: 755: 746: 745: 743: 742: 737: 735:Create Project 731: 729: 725: 724: 722: 721: 716: 711: 705: 703: 697: 696: 694: 693: 688: 683: 678: 673: 668: 663: 658: 653: 648: 643: 638: 633: 628: 622: 620: 614: 613: 606: 604: 601: 600: 598: 597: 592: 587: 582: 577: 572: 567: 562: 556: 554: 550: 549: 547: 546: 541: 540: 539: 529: 524: 519: 514: 509: 504: 498: 496: 492: 491: 489: 488: 483: 477: 475: 468: 461: 460: 449: 448: 441: 434: 426: 420: 419: 402: 401:External links 399: 396: 395: 369: 357: 345: 330: 315: 300: 299: 297: 294: 293: 292: 286: 271: 268: 267: 266: 260: 259: 245: 229: 226: 144: 143: 128: 124: 123: 118: 112: 111: 105: 99: 98: 93: 89: 88: 86: 85: 64: 62: 56: 55: 52: 51: 32: 30:Stable release 26: 25: 15: 9: 6: 4: 3: 2: 1042: 1031: 1028: 1026: 1023: 1021: 1018: 1016: 1015:C++ libraries 1013: 1012: 1010: 995: 994: 989: 985: 983: 982: 973: 971: 970: 961: 960: 957: 951: 948: 946: 943: 942: 940: 938:Organisations 936: 930: 927: 925: 922: 920: 917: 915: 912: 910: 907: 905: 902: 900: 897: 895: 892: 891: 889: 885: 880: 866: 863: 862: 860: 856: 850: 847: 845: 842: 841: 839: 835: 829: 826: 824: 821: 819: 816: 814: 811: 809: 806: 804: 801: 800: 798: 794: 791: 787: 783: 776: 771: 769: 764: 762: 757: 756: 753: 741: 738: 736: 733: 732: 730: 726: 720: 717: 715: 712: 710: 707: 706: 704: 702: 698: 692: 689: 687: 684: 682: 679: 677: 674: 672: 669: 667: 664: 662: 659: 657: 654: 652: 649: 647: 644: 642: 639: 637: 634: 632: 629: 627: 624: 623: 621: 619: 615: 610: 596: 593: 591: 588: 586: 583: 581: 578: 576: 573: 571: 568: 566: 563: 561: 558: 557: 555: 551: 545: 542: 538: 535: 534: 533: 530: 528: 525: 523: 520: 518: 515: 513: 510: 508: 505: 503: 500: 499: 497: 493: 487: 484: 482: 479: 478: 476: 472: 469: 466: 462: 458: 454: 447: 442: 440: 435: 433: 428: 427: 424: 416: 410: 405: 404: 384: 380: 373: 366: 361: 354: 349: 342: 339: 334: 326: 319: 311: 305: 301: 289: 287:1-58450-450-1 283: 279: 274: 273: 265: 262: 261: 257: 251: 246: 243: 232: 225: 222: 220: 216: 212: 208: 204: 200: 196: 192: 188: 183: 181: 176: 174: 170: 166: 162: 158: 154: 150: 141: 129: 125: 122: 119: 117: 113: 109: 106: 104: 100: 97: 94: 90: 83: 78: 66: 65: 63: 61: 57: 53: 49: 33: 31: 27: 23: 991: 979: 967: 914:OpenDocument 893: 887:Technologies 789:Applications 708: 532:X.Org Server 386:. Retrieved 382: 372: 360: 348: 333: 318: 304: 277: 223: 184: 177: 153:unit testing 148: 147: 108:Unit testing 75:/libreoffice 71:.freedesktop 849:LibreOffice 782:LibreOffice 199:LibreOffice 193:version at 132:freedesktop 48:[±] 1009:Categories 701:Frameworks 641:Fontconfig 590:pkg-config 585:PackageKit 481:PulseAudio 467:components 296:References 92:Written in 60:Repository 41:2017-04-13 993:Wikibooks 899:LibreLogo 719:Telepathy 646:GStreamer 626:AppStream 618:Libraries 138:/Software 969:Category 728:Meetings 661:HarfBuzz 651:libinput 636:FreeType 522:Plymouth 495:Graphics 486:PipeWire 388:20 March 228:See also 205:such as 140:/cppunit 77:/cppunit 981:Commons 894:CppUnit 813:Impress 796:Desktop 709:CppUnit 671:Poppler 656:Mesa 3D 595:Systemd 570:Flatpak 527:Wayland 517:nouveau 512:Enchant 341:plug-in 338:Jenkins 149:CppUnit 127:Website 116:License 69:anongit 39: ( 20:CppUnit 858:Server 837:Mobile 803:Writer 676:Swfdec 575:Kmscon 544:Xephyr 537:Glamor 502:Compiz 284:  215:Gentoo 211:Ubuntu 207:Debian 195:GitHub 187:forked 45:) 666:Pango 631:Cairo 565:D-Bus 560:Avahi 553:Other 474:Sound 169:JUnit 151:is a 136:/wiki 828:Math 823:Draw 818:Base 808:Calc 580:luit 390:2014 365:fork 282:ISBN 219:Arch 217:and 165:port 134:.org 121:LGPL 110:tool 103:Type 73:.org 919:PDF 691:Xft 686:XCB 507:DRI 167:of 96:C++ 1011:: 465:OS 381:. 221:. 213:, 209:, 175:. 774:e 767:t 760:v 445:e 438:t 431:v 392:. 312:. 290:. 161:C 43:)

Index

Stable release
[±]
Repository
anongit.freedesktop.org/libreoffice/cppunit
Edit this at Wikidata
C++
Type
Unit testing
License
LGPL
freedesktop.org/wiki/Software/cppunit
unit testing
C++ programming language
C
port
JUnit
GNU Lesser General Public License
continuous integration
forked
freedesktop.org
GitHub
LibreOffice
Linux distributions
Debian
Ubuntu
Gentoo
Arch
Free and open-source software portal
icon
Computer programming portal

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.