libzbxmodbus icon indicating copy to clipboard operation
libzbxmodbus copied to clipboard

Add "low-level" unit tests

Open i-ky opened this issue 5 years ago • 2 comments

With source code now separated into several source files (aka units) it now makes sense to add some sort of framework to test these pieces one by one. Such tests will be faster and can be more thorough than full-scale integration tests featuring zabbix_agentd, zabbix_get and dummy Modbus devices. I'm currently looking at µnit.

i-ky avatar Sep 25 '18 15:09 i-ky

I think that integration tests should stay as well. It will be nice to do things not covered by the already implemented test first of all.

v-zhuravlev avatar Sep 25 '18 15:09 v-zhuravlev

Sure. "Add", not "replace".

i-ky avatar Sep 25 '18 15:09 i-ky