Files
ndn-tools/tests
Eric Newberry 716ab60f05 build+ci: add code coverage support
This commit also adds GlobalConfigurationFixture to ensure that running
unit tests doesn't interact with system configuration (e.g., doesn't use
or alter user certificates).

Change-Id: I621ce14425a777c94d41b8132cd2858d91235b4d
Refs: #3808
2017-01-18 17:37:05 -08:00
..
2017-01-16 02:35:59 -05:00
2016-11-24 23:15:20 +00:00
2015-06-28 11:10:34 -07:00
2015-06-28 11:10:34 -07:00
2015-06-28 11:10:34 -07:00

ndn-tool unit tests

Assumptions

Unit tests for a tool foo should be placed in the folder foo and build script for the tool should define foo-objects that includes all object files for the tool, except object files defining main function.

For example,

bld(features='cxx',
    name='tool-subtool-objects',
    source=bld.path.ant_glob('subtool/*.cpp', excl='subtool/main.cpp'),
    use='core-objects')

bld(features='cxx cxxprogram',
    target='../../bin/subtool',
    source='subtool/main.cpp',
    use='tool-subtool-objects')

bld(name='tool-objects',
    use='tool-subtool-objects')