Project

General

Profile

Feature #1716

enhance unit test coverage

Added by laforge over 1 year ago. Updated over 1 year ago.

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:

./vty
Please 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

Precedes OpenBSC - Feature #1717: improve test coverage of libbsc/libmsc/... inside OpenBSC git repo Rejected 05/18/2016 05/18/2016

History

#1 Updated by laforge over 1 year ago

  • Precedes Feature #1717: improve test coverage of libbsc/libmsc/... inside OpenBSC git repo added

#2 Updated by laforge over 1 year ago

  • Assignee deleted (dlsitzer)

Also available in: Atom PDF