Hi Nges,

Have you taken a look at:

http://mynewt.apache.org/os/modules/testutil/testutil/

This should give you a fair amount of documentation on using the testutil library.

If you have any further / specific questions, feel free to ask on list or on IRC!

Cheers,
Sterling

On 3/15/16 9:23 AM, Nges B wrote:
ok thanks all,
I got all of the above ,
I was asking for something like a documentation explaining the
functionalities of the functions and variables. since the code is not
really commented.

But am still trying to understand the functions knowing that no such
documentation exist.



On 3/15/16, Sterling Hughes <[email protected]> wrote:
Hi Nges,

On 3/15/16 5:12 AM, Nges B wrote:
I have gone through the unit test documentation and have all the test
and a perfact understanding of how it happens ,
I will need to to know if there is any documentation on the header
file e <testutil/testutil.h>?

When you include a library in your package dependencies (e.g.
libs/testutil), you automatically get the header files for that package.

$ tree -L 3 libs/testutil/
libs/testutil/
├── design.txt
├── include
│   └── testutil
│       └── testutil.h
├── pkg.yml
└── src
      ├── arch
      │   ├── cortex_m4
      │   └── sim
      ├── case.c
      ├── suite.c
      ├── testutil.c
      └── testutil_priv.h

6 directories, 7 files
$

Here you see, you will get -I libs/testutil/include in your path, which
will give you access to:

#include <testutil/testutil.h>

if any how can I access it?? I will like to better understand this
header.
Thanks in advance


Hope this helps.

Cheers,
Sterling



Reply via email to