iutest - iris unit test framework
iutest is framework for writing C++ tests.
- An 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. (1.5 or later)
- Windows
- Linux
- MacOS
- FreeBSD
- Cygwin
- MinGW
- VC++6~
- GCC 3.4.6~
- Clang 3.1~
- Intel Compiler
- Zapcc
- in repository
doc/index.html - online document
latest released version
GitHub master branch
- Use GitHub issues to report bugs and feature requests.
- Ask questions at the twitter (@srz_zumix)
- fused
make fused-src. - Twilio
notifies the test results using Twilio - Wandbox (deprecated) tools to make use of the iutest in Wandbox
CI | master | develop | Tests |
---|---|---|---|
AppVeyor | Windows, Visual Studio, Cygwin, MINGW, NuGet, Visual Studio PREFAST (Code Analysis) | ||
Azure Pipelines | Config matrix test, Visual Studio build option matrix | ||
Bitrise | iOS | ||
Android | |||
Buddy | benchmark test | ||
CircleCI | Basic test with opmimize options | ||
Cirrus CI | g++/clang std=c++14,17.. Basic tests, FreeBSD Basic tests | ||
Codacy | Shellcheck, Cppcheck, PyLint, etc... | ||
Codefresh | Build tools/docker/Dockerfile, Benchmark test, Gcc 8/9 basic test | ||
Codeship | Check coding standard of the project | ||
Coverity Scan | Coverity Scan | ||
Drone Cloud | gcc/clang each version Basic test | ||
GitHub Actions | Basic test (Windows LLVM clang and mingw and zapcc), EditorConfig Lint, Include What You Use, arm-none-eabi-gcc build | ||
GitHub Actions - Google Test Compatible | Google Test/Mock compatible test for released versions | ||
GitHub Actions - reviewdog | Reviewdog (shellcheck, cpplint) | ||
GitHub Actions - Update GitHubPages | Update documents | ||
GitLab CI | Google Test/Google Mock compatibility (HEAD) | ||
JFrog Pipelines | - | - | gcc/clang Baisc test |
Peakflow | fused-src tests | ||
Razorops | gcc3 Basic test | ||
Scrutinizer | iuwandbox tests | ||
Semaphore | Scan-build | ||
Semaphore 2.0 | Scan-build, Basic test, sample run | ||
Travis CI | Basic tests, Coverity-scan |
Basic test
Please read the CONTRIBUTING.md
for details on how to contribute to this project.
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.