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.
- Janaese test name (C++03).
- Various options for running the tests.
- Compatible with Google Test. (1.5 or later)
- Windows
- Linux
- Mac OS
- FreeBSD
- Cygwin
- MinGW
- in repository
doc/index.html - online document
least released version(OSDN)
GitHub master branch (gh-pages)
- 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
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 | ||
Bitrise | iOS | ||
Android | |||
Buddy | benchmark test | ||
Circle CI | 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 | Update documents, Check coding standard of the project | ||
Coverity Scan | Coverity Scan | ||
Drone Cloud | gtest compatible test for released versions / gtest version detect test | ||
GitHub Actions | Basic test (Windows LLVM clang and mingw), EditorConfig Lint, Include What You Use, arm-none-eabi-gcc build | ||
GitHub Actions reviewdog | Reviewdog (shellcheck, cpplint) | ||
GitLab CI | Google Test/Google Mock compatibility (HEAD) | ||
Peakflow | |||
Scrutinizer | iuwandbox tests | ||
Semaphore | Scan-build | ||
Semaphore 2.0 | Scan-build, Basic test, sample run | ||
Shippable | Syntax tests for compiler each version (c++98) | ||
Travis CI | Basic tests, Google Test compatibility, Coverage, Coverity-scan | ||
Wercker | Syntax tests for compiler each version (c++latest) |
Basic test
Please read the CONTRIBUTING.md
for details on how to contribute to this project.
Copyright (c) 2011-2020, 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.