OpenCellular
                                
                                 OpenCellular copied to clipboard
                                
                                    OpenCellular copied to clipboard
                            
                            
                            
                        Feature request: UT framework for POST
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
- src/post/post.c
- src/post/post_util.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
- There is currently a hack in post_util.c to compile the code for UT (UT_POST) this needs to be fixed .
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 .