<blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><p style="white-space: pre-wrap; word-wrap: break-word;">Patch Set 1:</p><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.<br></p></blockquote><p style="white-space: pre-wrap; word-wrap: break-word;">The new patch set introduces an IPA_Testing module which contains a test component and test functions which can be called on this component.<br>Other test suites can instantiate a component and execute a test on it.</p><p style="white-space: pre-wrap; word-wrap: break-word;">This allows us to control execution of these tests from TTCN3 code.<br>On IRC you mentioned another possibility: Let configuration files execute testcases from multiple components.</p><p style="white-space: pre-wrap; word-wrap: break-word;">Is the approach used in patch set 2 acceptable, or should it be adjusted?</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: 2 </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-Reviewer: Stefan Sperling <ssperling@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Mon, 08 Oct 2018 13:35:41 +0000 </div>
<div style="display:none"> Gerrit-HasComments: No </div>
<div style="display:none"> Gerrit-HasLabels: No </div>