Login | Register
My pages Projects Community openCollabNet

ameba
Project home

2020-03-13: This site is going to be decommissioned and shut down very soon. Please copy and archive any data you wish to keep ASAP

If you were registered and logged in, you could join this project.

Summary Testing framework based on macroses.
Category testing
License GNU Lesser Public License
Owner(s) chipset
Running news
- 1.19.2007
Ameba 0.03 was set to go!
Mission
Ameba's mission is to make unit-testing as easy and as flexible as possible.
What is it using?
Ameba's source code depends and shall depend on standart C++ tools and (possibly) Boost only. Ameba makes emphasize on preprocessor features to make creation of tests easier.
How do I begin?
Example of simple usage is in the source code: dummy_entry.cpp Please, note that you don't have to compile anything from Ameba to make it work, Ameba #includes everything (currently). Key moments of usage:
  • You don't have to inherit from anything, Ameba treats every function as a test-case and classes/namespaces as test suites.
  • You have to supply your own int main and after initialization of suite, call class tester's function to display statistics collected.
Features
Your needs might be satisfied by other TDD framework but Ameba offers following features:
  • Use of C++-specific preprocessor.
  • Ease of adding new tests and suites. You do not need to specify name of suite or test, Ameba will infer this information using full path to function of test-tool call.
  • Everything is open-source and licensed by Boost library licence.
  • Ameba doesn't need to be compiled, it is distributed as a set of header files
Roadmap
  • Add more tests (currently only equality check).
  • Enhance statistics' (table with files and priorities(?)).