https://github.com/srz-zumix/iutest
c++ testing framework
https://github.com/srz-zumix/iutest
assertions c-plus-plus cpp cpp03 cpp11 cpp14 cpp17 cpp98 header-only no-dependencies tdd testing-framework wandbox
Last synced: 3 months ago
JSON representation
c++ testing framework
- Host: GitHub
- URL: https://github.com/srz-zumix/iutest
- Owner: srz-zumix
- License: bsd-3-clause
- Created: 2012-02-15T08:59:23.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2025-03-25T14:57:34.000Z (3 months ago)
- Last Synced: 2025-03-28T13:07:06.435Z (3 months ago)
- Topics: assertions, c-plus-plus, cpp, cpp03, cpp11, cpp14, cpp17, cpp98, header-only, no-dependencies, tdd, testing-framework, wandbox
- Language: C++
- Homepage: http://iutest.osdn.jp/
- Size: 213 MB
- Stars: 67
- Watchers: 7
- Forks: 6
- Open Issues: 86
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
[](https://ci.appveyor.com/project/srz-zumix/iutest/branch/master)
[](https://dev.azure.com/srz-zumix/iutest/_build/latest?definitionId=4)
[](https://app.bitrise.io/app/6903498632e89465?referrer=a9c0b9baf7536067)
[](https://app.buddy.works/srzzumix/iutest/repository/branch/master)
[](https://circleci.com/gh/srz-zumix/iutest/tree/master)
[](https://cirrus-ci.com/github/srz-zumix/iutest/master)
[](https://g.codefresh.io/pipelines/iutest_unittest/builds?repoOwner=srz-zumix&repoName=iutest&serviceName=srz-zumix%2Fiutest&filter=trigger:build~Build;branch:master;pipeline:58a933be9d1bd40100495882~iutest_unittest)
[](https://codeship.com/projects/110695)
[](https://cloud.drone.io/srz-zumix/iutest)
[](https://github.com/srz-zumix/iutest/actions?query=workflow%3A%22GitHub+Actions%22)
[](https://gitlab.com/srz-zumix/iutest-test/commits/master)
[](https://www.peakflow.io/en/projects/iutest/build-groups?build_groups_q%5Bbranch_name_cont%5D=master)
[](https://dashboard.razorops.com/apps/blue-bird-776/workflows)
[](https://scrutinizer-ci.com/g/srz-zumix/iutest/build-status/master)
[](https://semaphoreci.com/srz_zumix/iutest)
[](https://srz-zumix.semaphoreci.com/projects/iutest)
[](https://travis-ci.com/srz-zumix/iutest)
[](https://www.codacy.com/app/srz-zumix/iutest?utm_source=github.com&utm_medium=referral&utm_content=srz-zumix/iutest&utm_campaign=Badge_Grade)
[](https://lgtm.com/projects/g/srz-zumix/iutest/context:cpp)
[](https://lgtm.com/projects/g/srz-zumix/iutest/context:python)
[](https://codecov.io/gh/srz-zumix/iutest)
[](https://coveralls.io/github/srz-zumix/iutest?branch=master)
[](https://scan.coverity.com/projects/srz-zumix-iutest)
[](https://dashboard.guardrails.io/default/gh/srz-zumix/iutest)
[](https://github.com/srz-zumix/iutest/actions?query=workflow%3A%22GitHub+Actions+-+reviewdog%22)
[](https://opensource.org/licenses/BSD-3-Clause)
[](https://badge.fury.io/nu/iutest)
[](https://amzn.asia/6fNxDZU)iutest
==========iutest - iris unit test framework
Welcome to the iutest
--------------------------------------------------iutest is framework for writing C++ tests.
Features
--------------------------------------------------* An [XUnit](https://en.wikipedia.org/wiki/XUnit) test framework.
* Header only, no external dependencies.
* Test discovery.
* XML/JUnit test report generation.
* Assertions.
+ A rich set of assertions.
+ User-defined assertions.
+ Power-assert (expression-assert).
+ Matchers.
+ Fatal and non-fatal, warning, assume failures.
* Value-parameterized tests.
* Type-parameterized tests.
* Advanced parameter generation.
+ Pairwise parameter.
+ CSV parameter.
+ Any parameter.
+ Random parameter.
+ Multiple parameters can be concatenated.
* Test packages (grouping).
* Skip test.
* Private member test.
* Japanese test name (C++03).
* Various options for running the tests.
* Compatible with [Google Test](https://github.com/google/googletest). (1.5 or later)Platforms
--------------------------------------------------* Windows
* Linux
* MacOS
* FreeBSD
* Cygwin
* MinGWCompiler
--------------------------------------------------* VC++6~
* GCC 3.4.6~
* Clang 3.1~
* Intel Compiler
* ZapccDocumentation
--------------------------------------------------* in repository
doc/index.html
* online document
[latest released version](https://srz-zumix.github.io/iutest/latest)
[GitHub master branch](https://srz-zumix.github.io/iutest/master)Project page
--------------------------------------------------* [OSDN Project page](https://iutest.osdn.jp/)
* [GitHub](https://github.com/srz-zumix/iutest)Support
--------------------------------------------------* Use [GitHub issues](https://github.com/srz-zumix/iutest/issues) to report bugs and feature requests.
* Ask questions at the twitter ([@srz_zumix](https://twitter.com/srz_zumix))Tools
--------------------------------------------------* fused
make fused-src.
* Twilio
notifies the test results using Twilio
* Wandbox (deprecated)
tools to make use of the iutest in [Wandbox](https://wandbox.org/)Tests
--------------------------------------------------|CI|master|develop|Tests|
|:--|:--|:--|:--|
|[AppVeyor](https://www.appveyor.com/)|[](https://ci.appveyor.com/project/srz-zumix/iutest/branch/master)|[](https://ci.appveyor.com/project/srz-zumix/iutest/branch/develop)|Windows, Visual Studio, Cygwin, MINGW, NuGet, Visual Studio PREFAST (Code Analysis)|
|[Azure Pipelines](https://dev.azure.com)|[](https://dev.azure.com/srz-zumix/iutest/_build/latest?definitionId=4)|[](https://dev.azure.com/srz-zumix/iutest/_build/latest?definitionId=4)|Config matrix test, Visual Studio build option matrix|
|[Bitrise](https://www.bitrise.io/?referrer=a9c0b9baf7536067)|[](https://app.bitrise.io/app/6903498632e89465?referrer=a9c0b9baf7536067)|[](https://app.bitrise.io/app/6903498632e89465?referrer=a9c0b9baf7536067)|iOS|
| |[](https://app.bitrise.io/app/f6bc69af3f6e2838?referrer=a9c0b9baf7536067)|[](https://app.bitrise.io/app/f6bc69af3f6e2838?referrer=a9c0b9baf7536067)|Android|
|[Buddy](https://buddy.works/)|[](https://app.buddy.works/srzzumix/iutest/repository/branch/master)|[](https://app.buddy.works/srzzumix/iutest/repository/branch/develop)|benchmark test|
|[CircleCI](https://circleci.com/)|[](https://circleci.com/gh/srz-zumix/iutest/tree/master)|[](https://circleci.com/gh/srz-zumix/iutest/tree/develop)|Basic test with opmimize options|
|[Cirrus CI](https://cirrus-ci.org/)|[](https://cirrus-ci.com/github/srz-zumix/iutest/master)|[](https://cirrus-ci.com/github/srz-zumix/iutest/develop)|g++/clang std=c++14,17.. Basic tests, FreeBSD Basic tests|
|[Codacy](https://www.codacy.com/)|[](https://www.codacy.com/app/srz-zumix/iutest?utm_source=github.com&utm_medium=referral&utm_content=srz-zumix/iutest&utm_campaign=Badge_Grade)|[](https://www.codacy.com/app/srz-zumix/iutest?utm_source=github.com&utm_medium=referral&utm_content=srz-zumix/iutest&utm_campaign=Badge_Grade)|Shellcheck, Cppcheck, PyLint, etc...|
|[Codefresh](https://codefresh.io/)|[](https://g.codefresh.io/pipelines/iutest_unittest/builds?repoOwner=srz-zumix&repoName=iutest&serviceName=srz-zumix%2Fiutest&filter=trigger:build~Build;branch:master;pipeline:58a933be9d1bd40100495882~iutest_unittest)|[](https://g.codefresh.io/pipelines/iutest_unittest/builds?repoOwner=srz-zumix&repoName=iutest&serviceName=srz-zumix%2Fiutest&filter=trigger:build~Build;branch:develop;pipeline:58a933be9d1bd40100495882~iutest_unittest)|Build tools/docker/Dockerfile, Benchmark test, Gcc 8/9 basic test|
|[Codeship](https://codeship.com/)|[](https://app.codeship.com/projects/110695)|[](https://app.codeship.com/projects/110695)|Check coding standard of the project|
|[Coverity Scan](https://scan.coverity.com)|[](https://scan.coverity.com/projects/srz-zumix-iutest)||Coverity Scan|
|[Drone Cloud](https://cloud.drone.io)|[](https://cloud.drone.io/srz-zumix/iutest)|[](https://cloud.drone.io/srz-zumix/iutest)|gcc/clang each version Basic test|
|[GitHub Actions](https://github.com/srz-zumix/iutest/actions?query=workflow%3A"GitHub+Actions")|[](https://github.com/srz-zumix/iutest/actions?query=workflow%3A%22GitHub+Actions%22+branch%3Amaster)|[](https://github.com/srz-zumix/iutest/actions?query=workflow%3A%22GitHub+Actions%22+branch%3Adevelop)|Basic test (Windows LLVM clang and mingw and [zapcc](https://github.com/yrnkrn/zapcc)), EditorConfig Lint, Include What You Use, arm-none-eabi-gcc build|
|[GitHub Actions - Google Test Compatible](https://github.com/srz-zumix/iutest/actions?query=workflow%3A"Google+Test+Compatible")|[](https://github.com/srz-zumix/iutest/actions/workflows/gtest-compat.yml)|[](https://github.com/srz-zumix/iutest/actions/workflows/gtest-compat.yml)|Google Test/Mock compatible test for released versions|
|[GitHub Actions - reviewdog](https://github.com/srz-zumix/iutest/actions?query=workflow%3A"GitHub+Actions+reviewdog")|[](https://github.com/srz-zumix/iutest/actions?query=workflow%3A%22GitHub+Actions+-+reviewdog%22+branch%3Amaster)||Reviewdog (shellcheck, cpplint)|
|[GitHub Actions - Update GitHubPages](https://github.com/srz-zumix/iutest/actions?query=workflow%3A"GitHubPages")|[](https://github.com/srz-zumix/iutest/actions?query=workflow%3A%22GitHubPages%22+branch%3Amaster)||Update documents|
|[GitLab CI](https://about.gitlab.com/product/continuous-integration/)|[](https://gitlab.com/srz-zumix/iutest-test/commits/master)|[](https://gitlab.com/srz-zumix/iutest-test/commits/develop)|Google Test/Google Mock compatibility (HEAD)|
|[JFrog Pipelines](https://zumix3.jfrog.io/ui/pipelines/myPipelines/default/iutest_ubuntu_basic_test)|-|-|gcc/clang Baisc test|
|[Peakflow](https://www.peakflow.io)|[](https://www.peakflow.io/en/projects/iutest/build-groups?build_groups_q%5Bbranch_name_cont%5D=master)|[](https://www.peakflow.io/en/projects/iutest/build-groups?build_groups_q%5Bbranch_name_cont%5D=develop)|fused-src tests|
|[Razorops](https://razorops.com/)|[](https://dashboard.razorops.com/apps/blue-bird-776/workflows)|[](https://dashboard.razorops.com/apps/blue-bird-776/workflows)|gcc3 Basic test|
|[Scrutinizer](https://scrutinizer-ci.com/)|[](https://scrutinizer-ci.com/g/srz-zumix/iutest/build-status/master)|[](https://scrutinizer-ci.com/g/srz-zumix/iutest/build-status/develop)|iuwandbox tests|
|[Semaphore](https://semaphoreci.com/)|[](https://semaphoreci.com/srz_zumix/iutest)|[](https://semaphoreci.com/srz_zumix/iutest)|Scan-build|
|[Semaphore 2.0](https://semaphoreci.com/)|[](https://srz-zumix.semaphoreci.com/projects/iutest)|[](https://srz-zumix.semaphoreci.com/projects/iutest)|Scan-build, Basic test, sample run|
|[Travis CI](https://travis-ci.com/)|[](https://travis-ci.com/srz-zumix/iutest)|[](https://travis-ci.com/srz-zumix/iutest)|Basic tests, Coverity-scan|Basic test
[Compiler and OS tests status](./docs/status/compiler_os_ci_status.rst)
Coverage
--------------------------------------------------[](https://coveralls.io/github/srz-zumix/iutest?branch=master)
[](https://codecov.io/gh/srz-zumix/iutest)
[](https://codecov.io/gh/srz-zumix/iutest)Contributing change
--------------------------------------------------Please read the [`CONTRIBUTING.md`](CONTRIBUTING.md) for details on how to contribute to this project.
License
--------------------------------------------------Copyright (c) 2011-2021, Takazumi Shirayanagi,
All rights reserved.This software is released under the New(3-clause) BSD License, see LICENSE
If you distribute iutest, you might enjoy the [LICENSE-MIXING](docs/LICENSE-MIXING) document.