Feature #1716
enhance unit test coverage
Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
05/17/2016
Due date:
% Done:
0%
Spec Reference:
Description
We currently only have (some) unit test for the following parts:
libosmocore¶
./bits ./timer ./msgb ./logging ./conv ./stats ./utils ./loggingrb ./bitvec ./msgfile ./strrb ./ares
libosmogsm:¶
./fr ./auth ./a5 ./gb ./comp128 ./tlv ./gsup ./lapd ./gprs ./gsm0408 ./sms ./ussd ./gsm0808 ./smscb ./kasumi
libosmosim¶
./sim
libosmovty:¶
./vtyPlease review the existing unit tests and determine which API functions exported by our libraries do not currently receive any unit test coverage.
- generate a list of API functions without test cases and update the ticket
- pick those API functions that are easy to test without a very complicated fixture and lots of state
- implement autotest cases for each of the affected functions
It's also worth to think about possible ways to automatize the detection of 'exported library functions without test cases', if that's possible in some way.
Related issues
History
#1 Updated by laforge over 4 years ago
- Precedes Feature #1717: improve test coverage of libbsc/libmsc/... inside OpenBSC git repo added
#2 Updated by laforge over 4 years ago
- Assignee deleted (
dlsitzer)
#3 Updated by fixeria over 2 years ago
- Related to Feature #1987: gcov code coverage test support added