Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [wakaama-dev] Public CI

Hi,

gtest and also ctest unit tests are compiled only for the host system and the choice of
the test framework (and the language c vs c++) does not have any effect on device code
which stays in pure c :)

Regards,
David

Am 13.03.2016 um 01:10 schrieb Ricky Liu:
Hi,

If we use gtest, does it mean we need the standard C++ lib on device?

My current project is with limited nand flash/ram and doesn't have the C++ lib because the code size.  :(

My only concern is the code size and ram usage. I don't know if C++ test program is suited for this kind of devices with limited resource.

Thanks.


2016-03-13 2:35 GMT+08:00 David Gräff <david.graeff@xxxxxxxxxxxxxx>:
Hi,

at the moment there is no user visible continous integration for the github repository
and no way to see if a merge request cleanly applies. If you agree, I would like to add
Travis CI for building the core library, the examples and the unit tests.

Another thing is your choice of CUNIT for unit tests. I propose a change to the gtest framework (by google).
It allows more sphisticated features like Fixtures, more asserts, less boilerplate to setup the framework
and add tests.
It is a c++ based framework so tests will be compiled by the c++ instead of c compiler. I would consider this a positive
aspect, because c++ allows for example to use threads without external libraries to write some blackbox
tests (e.g. write a testcase for the client<-->server registration).

Regards,
David Graeff
_______________________________________________
wakaama-dev mailing list
wakaama-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/wakaama-dev



--
RickyLiu


_______________________________________________
wakaama-dev mailing list
wakaama-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/wakaama-dev


Back to the top