Skip to content

DronMDF/2out

Repository files navigation

2out

Object oriented unit testing framework

EO badge

Actions codecov 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.9@dronmdf/stable

CMakeLists.txt:

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

build:

$ conan remote add pureoop-2out https://conan.cloudsmith.io/pureoop/2out
$ conan install ~/project --build
$ cmake ~/project
$ make

Related projects

Contributing

Any contribution are welcome. Follow this guide.