Hi Ajay and OMEC community,
On Mon, Feb 01, 2021 at 06:43:43AM -0800, Ajay Thakur wrote:
> Thanks for detailed response. I will go through it and get back to you. Is
> this UT framework or generic testing framework ?
It depends a bit on the terminology.
Unit testing to me is typically considered about testing individual functions
from libraries etc. inside your project. This is not what TTCN-3 and TITAN
are intended for. you could possibly do it (TITAN can link C/C++ code),
but it's not a natural fit.
I am not an expert in related terminology, but I would typically call the
kind of testing that TITAN/TTCN-3 can do well as 'functional integration testing'.
Depending on your requirements, it may also be possible to do performance testing,
but reallly it's the integration part.
* you run one complete, unmodified network element (e.g. MME) as IUT
* your tester attaches to all of its external interfaces (S1, GTP, DIAMETER, ...)
* your tester simulates the 'rest of the world' around the IUT, e.g. in the above
example the minimally required parts of UE, ENB, HSS, SGW, ... for the related test
This type of testing focuses on what typically matters most in 3GPP type use casese:
The externally visible behavior on the 3GPP-specified interfaces. One would
normally implement tests for individual procedures, in different variations,
both successful and erroneous/timeout situations.
btw: TTCN-3 is used for all the ETSI/3GPP UE conformance testing, too. There
are large amounts of TTCN-3 test suites released for that purpose. However,
they are very much air interface centric and require a lot of integration
with the so-called 'system emulator' (emulating the RAN+CN), and hence I don't
think there's much to be learned from them for eNB/EPC/CN testing.
Unfortunately neither 3GPP nor ETSI make available any test suites for the
network side. I once saw some very simplistic eNB tests being released, but
nothing really worth mentioning. It seems the various vendors don't have
an interest to disclose their actual tests suites. Only the TTCN-3 compilers
and the encoders/decoders for the various protocols are released in TITAN.