Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[iottestware-dev] Install IoT-Testware workflow

Hello project partners,

as you might have noticed, the install workflow for our test suites is tedious and error-prone. That's why Sascha and I came up with the idea to try to automate this workflow as much as possible and improve the "user experience". 

The Titan Project Descriptor (tpd) files [1] seem to be predestined for that. 

But to able use the tpds effectively, I think we need to change and move some files in all three repositories. At least the installation scripts, TTCN-3 code should be not affected by that. 

I propose the following changes:
  1. We merge the two existing installation scripts from iottestware.coap [2] and iottestware.mqtt [3] and move it to the core repository. This new script could serve as the main installation script in the future. The main purposes of this script are:
    1. Clone all the required Titan modules and place them locally into the required folder structure for the tpd files.
    2. And also clone our test suites and place them locally next to the Titan modules. This would allow us to have our own tpd files which refer to their dependent Protocol Modules and Test Ports.
    3. (Optionally) We could clone only specific versions of Titan modules and not always just the latest. Some might remember the commit [4] that caused some incompatibilities
  2. Each test suite can now have their own specific scripts and documentation for further installation or customization, e.g:
    1. manage dependencies, build automatically the makefile from tpd etc. (for terminal users)
    2. how-to for import the test suite with eclipse (for IDE users)
    3. scripts for report generation
    4. starting exemplary SUTs 
    5. and so on...
As those changes would affect all repositories, I appreciate your opinions and would like to discuss the ideas with you.

Best regards,
Alex

[1] https://www.eclipse.org/forums/index.php/t/1089329/
[2] https://github.com/eclipse/iottestware.coap/blob/master/install.sh
[3] https://github.com/eclipse/iottestware.mqtt/blob/master/cloneTitanDependencies.sh
[4] http://git.eclipse.org/c/titan/titan.ProtocolModules.MQTT.git/commit/?id=ba87210340120b29caf6ec38bdb54dce586a3e63

Back to the top