CARVIEW |
Select Language
HTTP/2 200
date: Sat, 19 Jul 2025 05:29:30 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
etag: W/"62b13658dc43c22892f6a51b864c4857"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=LvscVQV%2BB%2FUsaDwTVnD8juI22wvPylxRhWW3%2B7SYsvTD33wlYwjBn%2B7KWKjaRRpIq0kR2nXyXqqs4nyRSx0N3bbGtPPJ%2FVml%2FuK7IePNKY%2BzFb2uVVD848Zoeh2re1WG0A7oO8KKDq1CvMz2W9n%2FAGNErNVIfdTkdhwiTSEP4iuHYq9v2QYotxRz6joYKlmC52MR8M%2F3OeIpEOLq7VR2Qt2XF462GTvBtJsCsbMmGPMWLrSIpPlWBppaSXMS9Cwsf1UX4X2r5GwvqGkbT9RuGg%3D%3D--z0xfPxNPXxOMfxoQ--nzrce%2ByHeAtFVAzD7qxA8w%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.2037333148.1752902969; Path=/; Domain=github.com; Expires=Sun, 19 Jul 2026 05:29:29 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sun, 19 Jul 2026 05:29:29 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: DC80:21415F:115553:1725BB:687B2D39
GitHub - tpounds/tpunitpp: A simple, portable C++ xUnit library contained in a single header.
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 8
A simple, portable C++ xUnit library contained in a single header.
License
tpounds/tpunitpp
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
tpunit++ ======== A highly portable, simple C++ xUnit library contained in a single header. Documentation and downloads are available at https://github.com/tpounds/tpunitpp. tpunit++ is licensed under the MIT License. (https://www.opensource.org/licenses/mit-license.php) Installation ============ Add tpunit++.hpp anywhere to your C++ compiler's include path, add test cases and compile together with tpunit++main.cpp or a custom user-defined main method. Tested Compilers ================ tpunit++ has been exhaustively tested on several popular compiler versions, however, it has not been tested with everything (e.g. PGI, SunPro, etc.). The following compatibility information is provided as a representative sample of compiler versions that the vanilla library is expected to work with out of the box. Notes: Some compilers have issues using the fully qualified class with namespace syntax (e.g. ns::class). Try the 'using' directive to workaround the issue. e.g. using namespace tpunit; using tpunit::TestFixture; The primary issue preventing tpunit++ from working with a compiler is a lack of member function template specialization. This feature is required to support tpunit++'s registration methods (e.g. After, Before, Test). It is expected that tpunit++ will work with any compiler supporting this functionality. Additionally, some linkers do not work with file names that contain non- alphanumeric characters (e.g. tpunit++main.cpp). Try renaming these files to include only alphanumeric characters or configure the compiler to emit object files that do not include illegal characters. +-------------------------------------------------------+ | version | flags | status | +-------------------------------------------------------+ | GCC (https://gcc.gnu.org) | +-------------------------------------------------------+ | 2.95.3 | <default>, -fno-exceptions | works | | 3.0.4 | <default>, -fno-exceptions | works | | 3.1.1 | <default>, -fno-exceptions | works | | 3.2.3 | <default>, -fno-exceptions | works | | 3.3.6 | <default>, -fno-exceptions | works | | 3.4.6 | <default>, -fno-exceptions | works | | 4.0.4 | <default>, -fno-exceptions | works | | 4.1.2 | <default>, -fno-exceptions | works | | 4.2.4 | <default>, -fno-exceptions | works | | 4.3.6 | <default>, -fno-exceptions | works | | 4.4.7 | <default>, -fno-exceptions | works | | 4.5.3 | <default>, -fno-exceptions | works | | 4.6.3 | <default>, -fno-exceptions | works | | 4.7.4 | <default>, -fno-exceptions | works | | 4.8.4 | <default>, -fno-exceptions | works | | 4.9.2 | <default>, -fno-exceptions | works | | 5.1.0 | <default>, -fno-exceptions | works | | 5.2.0 | <default>, -fno-exceptions | works | +-------------------------------------------------------+ | MSVC++ (https://www.microsoft.com) | +-------------------------------------------------------+ | 6.0 | <default>, /EHsc | works | | .NET 2002 (7.0) | <default>, /EHsc | works | | .NET 2003 (7.1) | <default>, /EHsc | works | | 2005 (8.0) | <default>, /EHsc | works | | 2008 (9.0) | <default>, /EHsc | works | | 2010 (10.0) | <default>, /EHsc | works | | 2012 (11.0) | <default>, /EHsc | works | | 2013 (12.0) | <default>, /EHsc | works | +-------------------------------------------------------+ | Borland C++ (https://www.borland.com) | +-------------------------------------------------------+ | 5.5 | <default> | works | +-------------------------------------------------------+ | Open Watcom (https://www.openwatcom.org) | +-------------------------------------------------------+ | 1.0 | <default> | broken | | 1.1 | <default> | broken | | 1.2 | <default> | broken | | 1.3 | <default> | broken | | 1.4 | <default> | works | | 1.5 | <default> | works | | 1.6 | <default> | works | | 1.7 | <default> | works | | 1.8 | <default> | works | | 1.9 | <default> | works | +-------------------------------------------------------+ | Clang (https://clang.llvm.org/) | +-------------------------------------------------------+ | 2.6 | <default>, -fno-exceptions | works | | 2.7 | <default>, -fno-exceptions | works | | 2.8 | <default>, -fno-exceptions | works | | 2.9 | <default>, -fno-exceptions | works | | 3.0 | <default>, -fno-exceptions | works | | 3.1 | <default>, -fno-exceptions | works | | 3.2 | <default>, -fno-exceptions | works | | 3.3 | <default>, -fno-exceptions | works | | 3.4.x | <default>, -fno-exceptions | works | | 3.5.x | <default>, -fno-exceptions | works | | 3.6.x | <default>, -fno-exceptions | works | | 3.7.x | <default>, -fno-exceptions | works | | 3.8.x | <default>, -fno-exceptions | works | | 3.9.x | <default>, -fno-exceptions | works | | 4.0.x | <default>, -fno-exceptions | works | | 5.0.x | <default>, -fno-exceptions | works | | 6.0.x | <default>, -fno-exceptions | works | | 7.x | <default>, -fno-exceptions | works | | 8.x | <default>, -fno-exceptions | works | +-------------------------------------------------------+ | Digital Mars C++ (https://www.digitalmars.com/) | +-------------------------------------------------------+ | 7.7B1n | <default>, -Ae | broken | | 8.1B5n | <default>, -Ae | broken | | 8.20n | <default>, -Ae | broken | | 8.28.5n | <default>, -Ae | broken | | 8.29.21n | <default>, -Ae | works | | 8.30.11n | <default>, -Ae | works | | 8.40.2n | <default>, -Ae | works | | 8.52.5n | <default>, -Ae | works | | 8.57.0n | <default>, -Ae | works | +-------------------------------------------------------+
About
A simple, portable C++ xUnit library contained in a single header.
Topics
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published
You can’t perform that action at this time.