Ticket #27 (closed enhancement: fixed)

Opened 15 years ago

Last modified 15 years ago

use UnitTest++ for testing

Reported by: smidl Owned by: smidl
Priority: major Milestone: Future considerations
Component: bdm core Version:
Keywords: Cc:

Description (last modified by smidl) (diff)

Testing is a bit ad-hoc now.

Many libraries for unit testing are available. With different level of complexity. See survey on: http://www.opensourcetesting.org/unit_c.php

I have seen (cpptest, cxxtest, and UnitTest?++) the latter looks the most promising. Perhaps it should be copied to /tests and extensively used.

Change History

Changed 15 years ago by smidl

  • description modified (diff)

Changed 15 years ago by vbarta

UnitTest?++ copied into library/tests/unittest-cpp, example of use in library/tests/test_user_info.cpp . Please use UnitTest?++ when adding more tests.

Changed 15 years ago by vbarta

Upon reflection, performance tests probably shouldn't be included in testsuite (because by definition, they take non-trivial resources, and if testsuite is to be run often, it should run fast), and so it doesn't really matter whether they use UnitTest??++ or not.

Changed 15 years ago by smidl

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.