/2out

Object oriented unit testing framework

Primary LanguageC++MIT LicenseMIT

2out

Object oriented unit testing framework

EO badge

CircleCI Actions Download codecov PDD status License

Intro

The test framework should not be easy to use. The test framework should help to do everything right. And after that it should be easy to use. :)

Tutorial

Kent Beck Money example

  1. Money as a Text. ru
  2. Money multiplication. ru
  3. Business terminoligy. ru
  4. Total Order amount. ru
  5. OrderMoney corner cases. ru
  6. Currency Exchange. ru
  7. Suite of tests. ru

Using

With cmake

conanfile.txt:

[generators]
cmake

[requires]
2out/0.6@dronmdf/stable

CMakeLists.txt:

INCLUDE(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
conan_basic_setup()

build:

$ conan remote add mdf https://api.bintray.com/conan/mdf/2out
$ conan install ~/project --build
$ cmake ~/project
$ make

Contributing

Any contribution are welcome. Follow this guide.