OpenCellular icon indicating copy to clipboard operation
OpenCellular copied to clipboard

Feature request: UT framework for Bigbrother and gossiper

Open JoshuaJeyaraj opened this issue 7 years ago • 0 comments

Product: (OC-SDR, OC-LTE, OC-LTE, OC-Power, others)

Unit test

Component: (PSU, GBC, BBU, FEM, LED, ME)

GBC

Category: (Hardware, Software/stack, Firmware/bootloader, Documentation)

Software/stack

Describe the solution you'd like Add UT testcases for 1)bigbrother(src/bigbrother.c 2)gossiper(src/comm/gossiper.c

Approach : In addition to addition of the testcase for all the functions in this file , we should also add sufficient stubs for OS specific APIs used in this code . There should be some basic checks to see if the values being passed to them are appropriate .Validation of the testcases will be done based on the return values and output variables.

Test Criteria : The Unity framework should be successful for all the planned testcases . The testcase list should be updated with the newly added testcases .

JoshuaJeyaraj avatar Oct 03 '18 09:10 JoshuaJeyaraj