<p style="white-space: pre-wrap; word-wrap: break-word;">this could go both ways:</p><p style="white-space: pre-wrap; word-wrap: break-word;">a) by having actual testcase in the library, but then the respective 'component' would have to be configued with the required ports, etc., or</p><p style="white-space: pre-wrap; word-wrap: break-word;">b) by having most of the test logic in functions, so that the TC_ipa_foo() in e.g. BSC_Tests.ttcn becomes a thin wrapper doing nothing much but calling the function provided by the library.</p><p style="white-space: pre-wrap; word-wrap: break-word;">Please keep in mind that this should be highly parametrized, as many of our programs have many IPA based interfaces, and we'd like to execute the same test against all of those ports.  For example, in the BSC we have at least RSL, OML, CTRL.</p><p style="white-space: pre-wrap; word-wrap: break-word;">I know that most of our programs will actually use implementations from libosmo*, but rather than creating artificial test executables for the libraries, I think running a set of 1..5 tests against each of bts/bsc/msc/... makes more sense.</p><p style="white-space: pre-wrap; word-wrap: break-word;">Sure, we'll be re-testing the same code several times, but that won't hurt.  Also, different applications may use the libosmo* in different ways, so it doesn't hurt executing tests against each of those.</p><p><a href="https://gerrit.osmocom.org/11241">View Change</a></p><ul style="list-style: none; padding: 0;"></ul><p>To view, visit <a href="https://gerrit.osmocom.org/11241">change 11241</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/11241"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-ttcn3-hacks </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: comment </div>
<div style="display:none"> Gerrit-Change-Id: I246a405414e36a44dc1e308692faab8bf04da0e6 </div>
<div style="display:none"> Gerrit-Change-Number: 11241 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Stefan Sperling <ssperling@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Harald Welte <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder (1000002) </div>
<div style="display:none"> Gerrit-Comment-Date: Fri, 05 Oct 2018 14:49:16 +0000 </div>
<div style="display:none"> Gerrit-HasComments: No </div>
<div style="display:none"> Gerrit-HasLabels: No </div>