Osmocom TTCN-3 Test Suites

Terminology

ATS

Abstract Test Suite

MTC

Main Test Component

PTC

Parallel Test Component

IUT

Implementation Under Test

Test Suite Philosophy

What to test?

Why TTCN-3 + TITAN

Test suites for Osmocom CNI components

Test suites in progress

BTS_Tests.ttcn

osmodevcon2018-ttcn3_test_suites__1.png

BSC_Tests.ttcn

osmodevcon2018-ttcn3_test_suites__2.png

MSC_Tests.ttcn

osmodevcon2018-ttcn3_test_suites__3.png

MGCP_Test.ttcn

osmodevcon2018-ttcn3_test_suites__4.png

HLR_Tests.ttcn

osmodevcon2018-ttcn3_test_suites__5.png

SIP_Tests.ttcn

osmodevcon2018-ttcn3_test_suites__6.png

SGSN_Tests.ttcn

osmodevcon2018-ttcn3_test_suites__7.png

GGSN_Tests.ttcn

osmodevcon2018-ttcn3_test_suites__8.png

Dockerized Setup

Jenkins CI Execution

  1. update docker-playground.git
    1. contains Dockerfile for ATS + IUT
  2. rebuild IUT container[s] (e.g. osmo-bts-master)
    1. git magic ensures re-build only if osmo-bts.git master changed
  3. rebuild ATS container (e.g. ttcn3-bts-test)
    1. git magic ensures re-build only if osmo-ttcn3-hacks.git master changed
  4. run docker-playground/ttcn3-bts-test/jenkins.sh
    1. creates docker network
    2. starts IUT + ATS docker containers
    3. collects test results

Jenkins CI Reporting

Further Reading

EOF

End of File