Repository navigation
Home
Kaz Nishimura edited this page May 4, 2020
·
55 revisions
Tired of using macros to specify test cases for C++? Then, C++UnitX is for you.
This repository contains the source code of C++UnitX.
See the README file and the home page for more information about C++UnitX.
This work is still in progress and not ready for production use yet. Do not expect it will be available very soon but your interests will help speed up its progress.
- No macro abuse.
- Test suite as a loadable module.
- Easy integration with common CI tools.
class MyTestFixture
{
unique_ptr<int> x;
BeforeTest setUp {
[this]() {
x.reset(new int());
}
};
Test testOne {"testOne",
[this]() {
assertNotNull(x);
}
};
};
TestRegistrant<MyTestFixture> tests {"tests"};An official source code package contains a SHA256SUMS file of signed by the author's key.
You should be able to check the package integrity as follows:
- Run
gpg -v SHA256SUMS.ascand - Run
sha256sum -c SHA256SUMS.