Project

General

Profile

Actions

Feature #1716

open

enhance unit test coverage

Added by laforge almost 8 years ago. Updated over 7 years 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

Related to libosmocore - Feature #1987: gcov code coverage test supportNew03/17/2017

Actions
Precedes OpenBSC - Feature #1717: improve test coverage of libbsc/libmsc/... inside OpenBSC git repoRejected05/18/201605/18/2016

Actions
Actions #1

Updated by laforge almost 8 years ago

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

Updated by laforge over 7 years ago

  • Assignee deleted (127)
Actions #3

Updated by fixeria over 5 years ago

  • Related to Feature #1987: gcov code coverage test support added
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)